in reply to Re: How Do I Get Batch Input to Work in DOS?
in thread How Do I Get Batch Input to Work in DOS?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How Do I Get Batch Input to Work in DOS?
by BrowserUk (Patriarch) on Mar 01, 2012 at 22:42 UTC | |
Are there any environment variables that might need tweaking? Or anything to put in the script file? How about you provide a little more information: If you supply that information, we here will almost certainly be able to solve your problem. Without it, all we can do is guess, usually wrongly. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
by jmk2012 (Initiate) on Mar 02, 2012 at 00:43 UTC | |
Input data file: Run Results: Manual run in DOS window: Run with input file: -------end of run data ---------- Your help is most appreciated! Thanks, JMK | [reply] [d/l] [select] |
by BrowserUk (Patriarch) on Mar 02, 2012 at 01:42 UTC | |
You've only supplied half the information requested in item 3; and none of item 4. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
by jmk2012 (Initiate) on Mar 02, 2012 at 18:38 UTC | |
I think I see where this is going, but I still need help. Much appreciated, JMK | [reply] [d/l] |
by BrowserUk (Patriarch) on Mar 02, 2012 at 21:29 UTC | |
The only thing I see missing is .pl from pathext, but all that does is allow you to omit the .pl from commands. Which you aren't doing in your examples, so NP. But, when I run your example in the manner you demonstrated, it works as you'd expect:
The logic of your test code is a bit mixed up, (and are you aware that changing the cwd within a program will be "undone" when the program exits?), but why you are apparently seeing different behaviour to me when that code is run I cannot explain. Nor diagnose. The only question I can think to ask: how did you install your copy of Perl? AS offer two methods: a zip file and a .msi. In the past I tried the zip file (smaller download), but had problems -- the post unzip command file that is meant to fix-up the installation didn't complete properly and left the install in a mess. I ended up blowing the whole thing away -- include searching the registry and deleting any keys that appeared to be related, a non-recommended process not for the faint of heart -- and then installing the .msi which "Just worked". And I've used the .msi's ever since. The symptoms of your problem seem to be very much related to your installation rather than Perl itself, and as such, you may well get better help on the AS forums than here. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
by jmk2012 (Initiate) on Mar 03, 2012 at 01:19 UTC | |
by BrowserUk (Patriarch) on Mar 03, 2012 at 03:17 UTC | |
| |