Difference between revisions of "DOS Directory File List"

From Tuflow
Jump to navigation Jump to search
Line 3: Line 3:
 
<ol>
 
<ol>
 
<li> Open the command prompt.
 
<li> Open the command prompt.
<li> If necessary change the drive location (for example type D:)
+
<li> If necessary, change the drive location (example syntax: <tt>D:</tt> then press Enter)
<li> Navigate to the folder location (cd D:\Example\TUFLOW\model\grid)
+
<li> Navigate to the folder location where you would like to write a list of the folders contained within it (example syntax: <tt>cd D:\Example\TUFLOW\model\grid</tt> then press Enter)
<li> Write a text file listing the folder contents (dir > filename.txt)
+
<li> Write a text file listing the folder contents using the following syntax <tt>dir > filename.txt</tt>
 
</ol>
 
</ol>

Revision as of 15:42, 14 February 2018

This page is under construction

  1. Open the command prompt.
  2. If necessary, change the drive location (example syntax: D: then press Enter)
  3. Navigate to the folder location where you would like to write a list of the folders contained within it (example syntax: cd D:\Example\TUFLOW\model\grid then press Enter)
  4. Write a text file listing the folder contents using the following syntax dir > filename.txt