Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Dir (command)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Implementations== [[File:Abort Retry Fail.PNG|200px|thumb|right|Screenshot showing the "[[Abort, Retry, Fail?]]" prompt on [[MS-DOS]].]] Although syntax, semantics and implementations vary, a {{code|dir}} command is available in the [[command-line interface]] (CLI) of the [[operating system]]s [[Digital Research]] [[CP/M]],<ref>{{cite web|url=http://www.cpm.z80.de/manuals/cpm22-m.pdf |title=Operating manual |publisher=cpm.z80.de |access-date=2019-10-22}}</ref> [[MP/M]],<ref name="MP/M_1981_UG">{{cite book |author=Digital Research |author-link=Digital Research |title=MP/M-86 Operating System - User's Guide |date=1981-09-25 |edition=1 |publisher=[[Digital Research]] |location=Pacific Grove, CA, USA |url=http://bitsavers.informatik.uni-stuttgart.de/pdf/digitalResearch/mpm-86/MPM-86_Users_Guide_Sep81.pdf |access-date=2017-01-04 |url-status=live |archive-url=https://web.archive.org/web/20170104172228/http://bitsavers.informatik.uni-stuttgart.de/pdf/digitalResearch/mpm-86/MPM-86_Users_Guide_Sep81.pdf |archive-date=2017-01-04}}</ref> [[Intel]] [[ISIS (operating system)|ISIS-II]],<ref>[http://bitsavers.org/pdf/intel/ISIS_II/9800306-06_ISIS-II_Users_Guide_May81.pdf ISIS II Users Guide]</ref> [[RMX (operating system)|iRMX 86]],<ref>[https://archive.org/details/bitsavers_inteliRMX1_19819263 iRMX 86 INTRODUCTION AND OPERATOR'S REFERENCE MANUAL For Release 6]</ref> [[Cromemco]] [[Cromemco DOS|CDOS]],<ref>[http://www.hartetechnologies.com/manuals/Cromemco/CDOSv1.PDF CDOS USER'S MANUAL]</ref> [[MetaComCo]] [[TRIPOS]],<ref>{{cite web|url=https://www.pagetable.com/docs/amigados_tripos/tripos_manuals.pdf |title=Introduction to Tripos |access-date=2019-10-22}}</ref> [[DOS]], [[IBM]]/[[Toshiba]] [[4690 Operating System|4690 OS]],<ref>[https://archive.org/details/4690OSV6r2UsersGuide/page/n169]{{Dead link|date=October 2019}}</ref> IBM [[OS/2]],<ref>{{cite web|url=http://www.jatomes.com/Help/Os2Cmd.php#DIR|title=JaTomes Help - OS/2 Commands|website=www.jatomes.com|access-date=2019-07-20|archive-date=2019-04-14|archive-url=https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#DIR|url-status=dead}}</ref> [[Microsoft Windows]],<ref>{{cite web|url=https://www.computerhope.com/dirhlp.htm|title=MS-DOS and Windows command line dir command|website=www.computerhope.com}}</ref> [[Singularity (operating system)|Singularity]], [[Datalight]] [[ROM-DOS]],<ref>{{Cite web|url=https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf|title=Datalight ROM-DOS User's Guide|website=www.datalight.com}}</ref> [[ReactOS]],<ref>{{cite web|url=https://github.com/reactos/reactos|title=GitHub - reactos/reactos: A free Windows-compatible Operating System|date=October 22, 2019|via=GitHub}}</ref> [[GNU#GNU as an operating system|GNU]],<ref>{{cite web|url=https://www.gnu.org/software/coreutils/dir|title=GNU Coreutils Manual|publisher=Free Software Foundation}}</ref> [[AROS Research Operating System|AROS]]<ref>{{cite web|url=http://aros.sourceforge.net/documentation/users/shell/index.php|title=AROS Research Operating System|website=aros.sourceforge.net}}</ref> and in the [[DIGITAL Command Language|DCL]] command-line interface used on [[Digital Equipment Corporation|DEC]] [[OpenVMS|VMS]], [[RT-11]] and [[RSX-11]]. It is also supplied with [[OS/8]] as a CUSP (Commonly-Used System Program). The <code>dir</code> command is supported by [[Tim Paterson]]'s [[Seattle Computer Products|SCP]] [[86-DOS]].<ref>{{cite book |title=86-DOS - Disk Operating System for the 8086 - User's Manual |edition=Preliminary |version=Version 0.3 |date=1980 |publisher=[[Seattle Computer Products, Inc.]] |location=Seattle, Washington, USA |url=http://www.patersontech.com/Dos/docs/86_Dos_usr_03.pdf |access-date=2019-07-14 |url-status=dead |archive-url=https://web.archive.org/web/20190714004434/http://www.patersontech.com/dos/docs/86_Dos_usr_03.pdf |archive-date=2019-07-14}} (59 pages)</ref> On [[MS-DOS]], the command is available in versions 1 and later.<ref name="RUNNINGMSDOS">{{Cite book|author-last=Wolverton|author-first=Van|title=Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition|date=2003|publisher=[[Microsoft Press]]|isbn=0-7356-1812-7}}</ref> It is also available in the [[open-source software|open source]] MS-DOS [[emulator]] [[DOSBox]]. [[MS-DOS]] prompts "[[Abort, Retry, Fail?]]" after being commanded to list a [[directory (file systems)|directory]] with no [[floppy disk|diskette]] in the drive. The [[numerical analysis|numerical computing]] environments [[MATLAB]] and [[GNU Octave]] include a <code>dir</code> function with similar functionality.<ref>{{cite web|url=https://www.mathworks.com/help/matlab/ref/dir.html|title=List folder contents - MATLAB dir|website=www.mathworks.com}}</ref><ref>{{cite web|url=https://octave.sourceforge.io/octave/function/dir.html|title=Function Reference: dir|website=octave.sourceforge.io}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)