Search results
Results from the WOW.Com Content Network
In computing, dir (directory) is a command in various computer operating systems used for computer file and directory listing. [1] It is one of the basic commands to help navigate the file system . The command is usually implemented as an internal command in the command-line interpreter ( shell ).
It defaults to display the attributes of all files in the current directory. The file attributes available include read-only, archive, system, and hidden attributes. The command has the capability to process whole folders and subfolders of files and also process all files. The command is available in MS-DOS versions 3 and later. [1]
Windows Command Prompt: Starting with Windows Vista and Windows Server 2008, the mklink internal command can create junctions, hard links, and symbolic links. [6] This command is also available in ReactOS. [7] In addition, the venerable dir command can display and filter junction points via the /aL switch. [8]
Derived from a screenshot of a Microsoft Windows command shell directory listing: File:Dir command in Windows Command Prompt.png: Author: Loadmaster (David R. Tribble)
Command Prompt, also known as cmd.exe or cmd, is the default command-line interpreter for the OS/2, [1] eComStation, ArcaOS, Microsoft Windows (Windows NT family and Windows CE family), and ReactOS [2] operating systems.
Windows 10: Windows Command Prompt: Text-based shell (command line interpreter) that provides a command line interface to the operating system Windows NT 3.1: PowerShell: Command-line shell and scripting framework. Windows XP: Windows Shell: The most visible and recognizable aspect of Microsoft Windows.
Also, a major portion of the utility commands packaged with MS-DOS 1.0 came from IBM and their command line syntax used the slash character as a 'switch' prefix. For example, dir /w runs the dir command with the wide list format option. This use of slash can still be found in the command interface under Microsoft Windows.
To get a command prompt with Unicode instead of Code page 437 or similar, one can use the cmd /U command. In such a command prompt, a batch file with Unicode filenames will work. Also one can use cmd /U to directly execute commands with Unicode as character set. For example, cmd /U /C dir > files.txt creates a file containing a directory ...