Talk:dir (command)

Latest comment: 7 years ago by Codename Lisa in topic Copyright problem removed


Removed Unix statement

edit

I've removed the statement "In Unix, dir is a symbolic link to or an alias for the ls command.", although it may well be a symbolic link or shell alias, there is no requirement or standard that dictates that. There is no mention whatsoever of a `dir` utitlity in the single unix specification, and there is no dir symlink or alias in the profile of some systems I have checked, including NetBSD and HP-UX. The GNU ls package includes a `dir` command, but this is a hardlink to gnu ls, which behaves differently when called as dir. -- taviso 15:51, 30 Jan 2005 (UTC)

I looked up this article when, after reading the dir manpage, I suspected dir is an "alias" of ls in a special way, so this information is actually what I hoped to learn from the article, and I put it back into the article in some form. --Uwe Lück (talk) 08:02, 4 July 2014 (UTC)Reply

Title

edit

shouldn't the title of the page be DIR (all caps) ? —Preceding unsigned comment added by 64.219.31.251 (talkcontribs) 00:07, 10 February 2006

explanation section

edit

Much of the explanation section looks like it was copied directly from Windows XP help. It is correct only for Windows NT, not MS-DOS. —Preceding unsigned comment added by 68.111.72.167 (talkcontribs) 04:00, 27 September 2006

Parameters

edit

Should there not be a list of parameters for the command? This is the info I was looking for. All I found was the "Most commonly used parameters" in the article List of DOS commands. Paalsteinhard (talk) 23:25, 14 June 2008 (UTC)Reply

Rt-11/RSX-11/OpenVMS

edit

The same command exists also in RT-11 and RSX-11 command interface. The same can be said about various other commands (assign, copy, format etc).--213.141.142.41 16:13, 12 June 2007 (UTC)Reply

dir command exists also in Linux. Check this link: [[1]] --79.130.170.115 (talk) 02:26, 6 February 2009 (UTC)Reply
See #Removed Unix statement above. Chris Cunningham (not at work) - talk 11:05, 6 February 2009 (UTC)Reply

Output on Windows 7

edit

I'm trying the dir /w command on Win7, with & without the space, & it's not working for me at all. Here's how it looks:

C:\Users\Smith>dir /w
 Volume in drive C is OS
 Volume Serial Number is 48AD-3B31

 Directory of C:\Users\Smith

[.]
[..]
[.matplotlib]
[.mnemosyne]
[Calibre Library]
chkdsk
[Contacts]
[Desktop]
[Documents]
[Downloads]
[Dropbox]
[dwhelper]
[Favorites]
g2mdlhlpx.exe
[Games]
[Links]
[Pictures]
[Saved Games]
[Searches]
[Tracing]
US and China engage in cyber war games _ Technology _ guardian.co.uk.pdf
UTT Online Application Ack.pdf
UTT Online Application Summary.pdf
               5 File(s)        244,602 bytes
              18 Dir(s)  75,778,936,832 bytes free

MonoTrouble (talk) 20:42, 13 April 2013 (UTC)Reply

edit

  Prior content in this article duplicated one or more previously published sources. Copied or closely paraphrased material has been rewritten or removed and must not be restored, unless it is duly released under a compatible license. (For more information, please see "using copyrighted works from others" if you are not the copyright holder of this material, or "donating copyrighted materials" if you are.)

For legal reasons, we cannot accept copyrighted text or images borrowed from other web sites or published material; such additions will be deleted. Contributors may use copyrighted publications as a source of information, and, if allowed under fair use, may copy sentences and phrases, provided they are included in quotation marks and referenced properly. The material may also be rewritten, providing it does not infringe on the copyright of the original or plagiarize from that source. Therefore, such paraphrased portions must provide their source. Please see our guideline on non-free text for how to properly implement limited quotations of copyrighted text. Wikipedia takes copyright violations very seriously, and persistent violators will be blocked from editing. While we appreciate contributions, we must require all contributors to understand and comply with these policies. Thank you. Codename Lisa (talk) 06:24, 6 June 2017 (UTC)Reply