Are you specifying the full file path? Are you using UNIX-style forward
slashes for directory delimiters?

Perl on NT will follow Windows conventions about finding and executing
files, and I never rely on the search path. Its always better to give a
full path to the executable.

Ex.

   #!/usr/bin/perl -w
   # Running an exe in DOSneyland with full path & 'Nixian slashes
   use Strict;
   use Diagnostics;
   system ("e:/ntreskit/ls.exe -l e:/eric");
--- zhongji tao <[EMAIL PROTECTED]> wrote:
> I am working on NT, IIS server. I tried system() to execute .exe
> file. But only those files that in c:\windows directory can be 
> executed. It does not work even I copy and paste some other .exe file
> in that directory. Anyone know how to solve the problem?
> 
> thanks.
> 


=====

---------------------------------
Notice: This e-mail is protected by the U.S. Constitution and the U.N. Declaration of 
Human Rights. Unauthorized interception by any public or private agency is an ugly 
sort of work to be in. Does your mother know you spend your days reading other 
people's mail? Would she be proud of you?

---------------------------------
Please visit: http://clubs.yahoo.com/clubs/district41democrats

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to