1.

Solve : How to return to the original drive/path??

Answer»

I'd like to be able to return to the user's current drive/PATH before my batch file ends. I couldn't find a SYSTEM variable which does this, so is this done by SETTING two VARS for the drive and path? How would this be done?

Basically, the batch file changes the drive & path near its beginning, but before CLOSING, I'd like it to set them back.

ThanksCheck the PushD and PopD commands
GrahamThanks Graham. That worked.



Discussion

No Comment Found