Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2016-10-27 17:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (366 votes). Check out past polls.