• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

DIRCMD

The DIRCMD environment variable customizes the default options the DIR command uses. When you run the DIR command, the contents of the DIRCMD environment variable—if it exists—are added invisibly to what you type on the command line.

Suppose that you prefer filenames in lowercase letters, sorted by directories and then sorted by date and time. You also want the screen to pause after each page of files is displayed. You can define the DIRCMD variable in your AUTOEXEC.BAT file as follows:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint