Of you could use a single forward slash.  Inside of a single quote.
'Z:/bin/perl.exe l_table.pl'

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris
Sent: Friday, January 09, 2004 9:34 AM
To: perl-win32-users
Subject: RE: Exec command

Try using back slashes instead. ->  "Z:\\bin\\perl.exe l_table.pl"


Regards, 

Chris


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SHEIKH
Sajjad
Sent: Friday, January 09, 2004 10:14 AM
To: $Bill Luebkert
Cc: [EMAIL PROTECTED]
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

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to