If your going to use forward slashes in file path names on Win32 you do not
need to escape forward slashes. You only need to escape backslashes. So
either:
Z:/bin/perl.exe l_table.pl
or
Z:\\bin\\perl.exe l_table.pl
should work.
HTH,
Trevor Joerges
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;.q;xxx.;.
q;~,[EMAIL PROTECTED],;;s;~;tfoenjnf.dpn;g;y;B-x;A-w;;s;P;perl;g;s;,;\n;g;s;Y;
;g;print;
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: "SHEIKH Sajjad" <[EMAIL PROTECTED]>
To: "$Bill Luebkert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 10:14 AM
Subject: Exec command
> I don't think I am making any mistake but still the following codes do
> not seem to work!
> Error: "The system cannot find the drive specified"
>
> Any idea?
>
> #!Z:/bin/perl.exe -w --
>
> use strict; # get in the habit of using this and -w above -
> # it will save you grief in the long run. You
> # can also use use warnings; instead of -w
> use CGI;
>
> # To get the errors back to the browser:
>
> use CGI::Carp qw(fatalsToBrowser);
>
> # Output a content header prior to any text
>
> # print "Content-Type: text/html\n\n";
>
> my $query = new CGI;
>
> print $query->header;
> print $query->start_html(-title=>'Web Template');
>
>
> my @x = ("Z://bin//perl.exe l_table.pl", "Z://bin//perl.exe
> r_table.pl");
>
> foreach (@x) { system $_; }
>
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs