Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: .bat and perl mystery

by Anonymous Monk
on Jun 12, 2002 at 16:57 UTC ( #173928=note: print w/replies, xml ) Need Help??


in reply to Re: .bat and perl mystery
in thread .bat and perl mystery

OK, I think this might have something to do with it. It can't see the .bat file, but I'm able to execute it from the command line in the same directory as my perl script.

Replies are listed 'Best First'.
Re: Re: Re: .bat and perl mystery
by insensate (Hermit) on Jun 12, 2002 at 17:09 UTC
    Ah...perhaps the .bat file is in a directory in your %PATH% env variable...try hardcoding the entire paths in your script...remember to escape the \ characters for win32 paths...so "c:\mydir\myfile" would be "c:\\mydir\\myfile"
    -Jason

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://173928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2020-02-23 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (102 votes). Check out past polls.

    Notices?