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 ).
Internal command that expands the name of a file, directory, or drive, and display its absolute pathname as the result. It will expand relative pathnames, SUBST drives, and JOIN directories, to find the actual directory. For example, in DOS 7.1, if the current directory is C:\WINDOWS\SYSTEM, then
Integrity Protected Command MKD RFC 959 Make directory. MLSD RFC 3659 Lists the contents of a directory in a standardized machine-readable format. MLST RFC 3659 Provides data about exactly the object named on its command line in a standardized machine-readable format. MODE RFC 959 Sets the transfer mode (Stream, Block, or Compressed). NLST RFC 959
(For articles about commands not built into the command processor see category External DOS commands.) Pages in category "Internal DOS commands" The following 32 pages are in this category, out of 32 total.
In DOS systems, file directory entries include a Hidden file attribute which is manipulated using the attrib command. Using the command line command dir /ah displays the files with the Hidden attribute. In addition, there is a System file attribute that can be set on a file, which also causes the file to be hidden in directory listings.
In addition, the venerable dir command can display and filter junction points via the /aL switch. [8] Finally, the rd command (also known as rmdir) can delete junction points. fsutil.exe: A command-line utility introduced with Windows 2000. Its hardlink sub-command can make hard links or list hard links associated with a file. [9]
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 listing with correct Windows characters, in the UTF-16LE encoding.
Dir /Owner: instruct the directory command to also display the ownership of the files. Note the Directory command name is not case sensitive, and can be abbreviated to as few letters as required to remain unique. Windows: DIR/Q/O:S d* dir /q d* /o:s: display ownership of files whose names begin with d (or D), sorted by size, smallest first.