Home » Questions » Computers [ Ask a new question ]

How can I get a history of directories I visited in the commandline?

How can I get a history of directories I visited in the commandline?

I know you can get the command history in some consoles, but is history for the visited directories stored in a similar way?

Asked by: Guest | Views: 254
Total answers/comments: 1
Guest [Entry]

"@picardo, the command history is not maintained across sessions, only is stored in memory, The most similar to what you ask, is performed by a very-old tool called DOSKey.

DOSKey was part of the old DOS command shell (and still works even in Windows 7!). It provided command-line editing, history functions for recalling commands.

For more info check these links:

DOSKey
Configuring the Command Prompt Window"