Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: How Do I Get Batch Input to Work in DOS?

by Riales (Hermit)
on Mar 01, 2012 at 20:52 UTC ( #957315=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How Do I Get Batch Input to Work in DOS?
in thread How Do I Get Batch Input to Work in DOS?

When you run your script, do you get those lines about where the program thinks it is and if it's incorrect to enter the full path or return? Have you tried adding a print after you assign to $prgmdrv to see what it's doing at that point? (Standard 'print statements everywhere!' advice, but still...)

I wonder if it might make more sense to modify the original script to optionally take an input file of commands instead of trying to pipe the commands in externally?


Comment on Re^3: How Do I Get Batch Input to Work in DOS?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2014-12-18 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (61 votes), past polls