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 j_hoff, 13.03.2013, 21:44

Well, this:

> CD>e:\temp\dirpath.tx
> SET DIRPATH <e:\temp\dirpath.txt

doesn't work. But that way:

CD | PIPESET DIRPATH

it should do the trick and you could return to your original directory just the way you wanted to do it, simply by:

> CD %DIRPATH%

 

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