Command Prompt Tweaks - Automate the DIR Command

If you go to the command prompt and type

set dircmd=/w/o/p

then press Enter, every time thereafter that you type

dir

the /w/o/p switches will be automatically applied. Of course, if you want only the /p switch, you can type

set dircmd=/p

and press Enter.

You can undo the /w or /o or /p on each instance by simply typing

dir /-switch whatever

For example, if you wanted to do a directory with only the /w switch, you could enter

dir /-p/-o

This is a nice trick that I've been using for a while now, and I really like it. When you exit the Command prompt window, however, the Dircmd setting returns to its default settings.

 


Author:

Lex van der Horst

Date Added:

12-12-2004

Last Reviewed:

12-12-2004

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.