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 ).
Since the RD (RMDIR) command can not delete a directory if the directory is not empty (except in Windows NT & 10), the DELTREE command can be used to delete the whole directory. The deltree command is included in certain versions of Microsoft Windows and MS-DOS operating systems. It is specifically available only in versions of MS-DOS 6.0 and ...
By default, only the single, specified directory is searched. /C command Execute the given command for each matching file. The command string typically needs to be wrapped in double quotes. See below for the syntax within the command string. The default command is CMD /C ECHO @FILE, which causes the name of each matching file to be output ...
Under Windows Explorer, the content of a directory can also be hidden just by appending a pre-defined CLSID [12] to the end of the folder name. The directory is still visible, but its content becomes one of the Windows Special Folders. [13] However, the real content of this directory can still be seen using the CLI command dir.
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.
Get AOL Mail for FREE! Manage your email like never before with travel, photo & document views. Personalize your inbox with themes & tabs. You've Got Mail!
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.