Share on Facebook Share on Twitter Email
Answers.com

Dir

 
Wikipedia: Dir (command)

In computing, dir (directory) is a command used for file and directory listing, specifically in the command line interface (CLI) of the RT-11, CP/M, VMS, DOS, OS/2, Singularity and Microsoft Windows operating systems. It is analogous to the Unix ls command.

Because it is the primary means of displaying the files and directories on disk or other storage medium within a command window, the dir command is one of the most basic commands employed by users of the command line interface to MS-DOS and various versions of Windows.[1]

The dir command has existed as a DOS command since the initial release of MS-DOS. It is built into the DOS command shell, and is not provided as a separate standalone program.

In DOS and Microsoft Windows, dir checks for switches in the %dircmd% environment variable.

In Windows PowerShell, dir is a predefined command alias for the Get-ChildItem Cmdlet which basically serves the same purpose.

See also

References

  1. ^ Baril, Suzanne (2000-01-10). "Learning MS-DOS Basics - A Tutorial". http://www.tnd.com/camosun/elex130/dostutor1.html. Retrieved on 2007-08-08. 

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Dir (command)" Read more