A. The DIR command has many switches and you can configure your own default behavior for the command instead of the normal format. For example you may want to view the output one page at a time (/p), in lowercase (/l), with files time as their creation rather that last write (/tc) and sorted by extension then name (/oen). Normally you would type
dir /p /l /tc /oen
however this is slightly tedious so to set this as your default perform the following
- Start the system control panel applet (Start - Settings - Control Panel - System)
- Select the Environment tab
- Create the Variable "dircmd" and set the value to your qualifiers, e.g. "/p /l /tc /oen" and click Set
- Click Applet then Click OK
Any new command session will now use the new dir output format.
0 comments
Hide comments