Remember and Recall Directory Path?
Posted: 10 Mar 2013 17:56
I want to make a batch file in MS-DOS 6.21 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:
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:
Any ideas?
----
Will in Seattle
a.k.a. "Clueless"
It was easy for me to simply redirect the output of the CD command to a textfile named U_R_HERE.TXT like this:
Code: Select all
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:
Code: Select all
CD <e:\temp\U_R_HERE.TXT
Any ideas?
----
Will in Seattle
a.k.a. "Clueless"