If your are using same switches frequently in Command prompt then open your system command prompt using open Run option
Click Start and open Run option then type cmd to open command prompt, here type
set dircmd=/w/o/p
then press Enter, now every time thereafter that you type
dir
the /w/o/p switches will be automatically applied and now need to type every time. If your are interested to use single switch like /w you can use it
set dircmd=/w
and press Enter.
and same if you wants to undo these switches then you can very easily by typing
dir /-switch
For example, if you wanted to do a directory with only the /w switch, you could enter
dir /-p/-o
When you exit the Command prompt window, however, the Dircmd setting returns to its default settings.
Categories
- GNU/Linux (20)
- Linux Security (12)
- Ubuntu Tutorials (20)
- Web Browsers (1)
- Windows 2000 (20)
- Windows 2003 (13)
- Windows 7 (8)
- Windows Vista (43)
- Windows XP (54)
Bookmark us
Thursday, September 18, 2008
How you can Automate the DIR Command
Posted by Tutorialsland Staff at 4:22 PM
Labels: Windows XP
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment