简体   繁体   中英

Windows command line mark current directory

On the Windows 7 command line I am in directory A and I will issue a command which will move me to directory B .

I want to quickly go back to A though. How can I mark A in the command line and then go back to it from B ?

I want to do something like:

mark .
cd mark

You'll want to use the pushd/popd commands:

c:\> pushd c:\future
c:\> cd some\where\else
c:\some\where\else> popd
c:\future>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM