> -----Original Message-----
> From: SHEIKH Sajjad [mailto:[EMAIL PROTECTED] 
> Sent: 09 January 2004 15:14
> 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 $_; }

This isn't really anything to do with Perl. The command shell is telling
you that the drive letter Z is not mapped (presumably you expected it to
be mapped to a remote device). Add the command "net use" to your list
the current mappings to confirm.

Also, shouldn't that be "Z:\\bin\\perl.exe", i.e. back slashes.

HTH

-- 
Brian Raven
 


-----------------------------------------------------------------------
The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary 
companies.
-----------------------------------------------------------------------


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to