|I have been programming BAT files since 1982 and never seen this issue before. I am running XP and my batch files do not function properly. All my commands are ignored including:|
IF EXIST <filename>
In addition, the command-line memory doesn't work on this machine. Usually I press PgUp to see and execute previous lines held in a buffer. Nothing is there.
How can WINDOWS work if there is no ability to execute commands in a batch file?
Here is the actual run. Even change drive fails:
BLASTER=A220 I5 D1 P330 T3
HOMEPATH=\Documents and Settings\Joan
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel
SONICCENTRAL=C:\Program Files\Common Files\Sonic Shared\Sonic Central\
Notice that the PATH and SET commands inside the batch file seemed to work, but the change-drive command (R:) failed and the last line (PATH) entered immediately after the run shows the original path restored.
This seems impossible, but it's true. And rebooting made no difference.
I'm stumped. Anyone have some idea of what is happening, and how to fix it?
What makes it even stranger is that the little sub,bat program does work and does set up three SUBST drives