Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

How to have MS-DOS "remember" logged drive and directory? (Users)

posted by CluelessInSeattl, Seattle, USA, 12.03.2013, 00:59

> What exactly are you trying to accomplish?

I want to make a batch file that "remembers" the current logged drive and directory and then later can "recall" and re-log me back onto that drive and directory after some operations have changed the logged drive and directory.

> If you are wanting to write a batch file to do something, and want to make
> sure that after the batch file is done you are in the same drive and
> directory where you started, things actually get pretty complicated and you
> will probably want to use programs like PUSHD and POPD.

If you've used these in DOS 6.21, then I'd be grateful if you could walk me through how to write them into a batch file.

---
Will in Seattle
a.k.a. "Clueless"
Running MS-DOS 6.21

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum