A
Alain Dekker
Hi,
Where can I go for help with the command prompt (DOS programming) on XP.
There don't seem to be any dedicated groups for this.
The question I'd like answered is:
"Is there any way to write a batch file that will "remember" what directory
it was in so that program execution can return to that folder.
For example, if I am in the directory C:\Test (or somewhere else) and I want
to run a batch file
in C:\MyBatchFiles, I could use:
cd\MyBatchFiles
MyBatchProg
REM I want to return to C:\Test or wherever I ran the batch file from...
Now, I don't want to have to edit the batch file every time I copy it to a
new directory. Any ideas?"
Thanks,
Alain
Where can I go for help with the command prompt (DOS programming) on XP.
There don't seem to be any dedicated groups for this.
The question I'd like answered is:
"Is there any way to write a batch file that will "remember" what directory
it was in so that program execution can return to that folder.
For example, if I am in the directory C:\Test (or somewhere else) and I want
to run a batch file
in C:\MyBatchFiles, I could use:
cd\MyBatchFiles
MyBatchProg
REM I want to return to C:\Test or wherever I ran the batch file from...
Now, I don't want to have to edit the batch file every time I copy it to a
new directory. Any ideas?"
Thanks,
Alain