W3C home > Mailing lists > Public > www-html@w3.org > February 1999

Re: Invoke Unix commands

From: Bradley J. Gibby <bgibby@iinet.net.au>
Date: Fri, 5 Feb 1999 12:35:32 +0800
Message-ID: <001101be50c0$f8a41b80$11453bcb@beast.iinet.net.au>
To: <www-html@w3.org>, "Walter Ian Kaye" <walter@natural-innovations.com>
I agree with Walter, but here's the command.

system("cp <filename1> <file/dir path>");

Regards,
Bradley q:)

-----Original Message-----
From: Walter Ian Kaye <walter@natural-innovations.com>
To: www-html@w3.org <www-html@w3.org>
Date: Friday, 5 February 1999 7:39
Subject: Re: Invoke Unix commands


>At 1:46p -0800 02/04/99, L.I Josť Luis Landa Segovia wrote:
>>How can I call any Unix command from a Perl program?
>>For example:
>>I want to "cp" one file to another from my CGI program
>
>This is not a Perl list. But try here:
>
><http://www.altavista.com/cgi-bin/query?
>pg=q&kl=en&text=yes&q=%2bPerl+%2bsystem+%2bcommand&stq=40&c9k>
>
>
>
Received on Thursday, 4 February 1999 23:34:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT