Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-12-16 15:47 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (455 votes). Check out past polls.