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, 10.03.2013, 20:02

OK, now I want to make a batch file that remembers the current logged drive and directory (What do you call that anyway. It's not the "path" is it?) and then re-log me back onto that drive and directory later on.

It was easy for me to simply redirect the output of the CD command to a textfile named U_R_HERE.TXT like this:

CD>e:\temp\U_R_HERE.TXT

But I'm having trouble figuring out how to tell MS-DOS 6.21 to log back into that drive and directory later on.

I tried this, but it didn't work:

CD <e:\temp\U_R_HERE.TXT

Any ideas?

---
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 (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum