Windows Commands: Change the current directory/folder and store the previous folder/path


PUSHD-Windows Command

PUSHD

Change the current directory/folder and store the previous folder/path for use by the POPD command.

Syntax
      PUSHD pathname 
   
Key
   pathname - the folder to make 'current' (UNC names accepted)

Example

c:\Program Files> PUSHD c:\utils
c:\utils> 
c:\utils> POPD
c:\Program Files>
   
c:\Program Files> PUSHD \\Server_23\MyShare\MyFolder
Z:\MyFolder>
Z:\MyFolder> POPD
c:\Program Files>


Networks
When a UNC path is specified, PUSHD will create a temporary drive map and will then use that new drive.

Temporary drive letters are allocated in reverse alphabetical order
so if Z: is free it will be used.

If Command Extensions are disabled the PUSHD command will not accept a network (UNC) path.

Other Windows 98, Windows XP Commands:
addusers , arp , assoc , associate , at , attrib , browstat , cacls , call , cd , change , chkdsk , chkntfs , choice , cipher , cleanmgr , clip , cmd , color , comp , con2prt , copy , date , defrag , del , delprof , dir , diruse , diskcomp , diskcopy , doskey , dsadd , dsmod , echo , endlocal , exit , expand , expand , fc , fdisk , find , findstr , for , forfiles , format , fsutil , ftp , ftype , global , goto , help , hfnetchk , if , ifmember , ipconfig , kill , label , ldifde , local , logevent , logoff , logtime , mapisend , md , mem , mode , monitor , more , mountvol , move , moveuser , msg , msiexec , msinfo32 , mstsc , munge , mv , nbtstat , net , netdom , netsh , netstat , netsvc , now , nslookup , ntbackup , ntrights , path , pathping , pause , perms , ping , popd , portqry , print , prncnfg , prnmngr , prompt , pushd , qgrep , rasdial , rasphone , rd , rdisk , recover , reg , regedit , regsvr32 , rem , ren , replace , rmtshare , robocopy , route , runas , rundll32 , sc , schtasks , sclist , scriptit , set , setlocal , setx , share , shift , shortcut , showgrps , showmbrs , shutdown , sleep , soon , sort , start , su , subinacl , subst , tasklist , time , timeout , title , touch , tracert , type , ver , verify , vol , where , whoami , windiff , winmsd , winmsdp , wmic , xcacls , xcopy ,
Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources