Typing Path at the command line and pressing Enter always shows you the current path. If you
haven??™t changed the path in any way, the Path command shows you the permanent path for your
system. When you need to add a temporary path, always type the new path information followed
by the %PATH% environment variable so that you don??™t lose the current path information. Finally,
if you really do want to clear the path, Type Path; followed and press Enter. This syntax clears the
262 CHAPTER 9 MANAGING THE HARD DRIVE
Path environment variable for the current command window only; using it won??™t affect your
system as a whole.
Storing and Retrieving Directories with the PushD and
PopD Commands
Windows maintains a directory stack that you can use to store locations that you visit. You use this
stack to store directory information and then retrieve it as needed. The PushD and PopD commands
provide access to the directory stack and help you move around your hard drive more efficiently.
TIP Think about a stack as you would a stack of pancakes. Fry a pancake and you can add it to the
top of the stack. Get hungry and you can remove a pancake from the top of the stack to eat it.
Pages:
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647