<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=Console_Window_Directory_File_List</id>
	<title>Console Window Directory File List - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=Console_Window_Directory_File_List"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Console_Window_Directory_File_List&amp;action=history"/>
	<updated>2026-05-24T11:06:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Console_Window_Directory_File_List&amp;diff=42979&amp;oldid=prev</id>
		<title>Pavlina Monhartova: Created page with &quot;=User Steps= These steps can be followed to output a printout of all files contained within a folder: &lt;ol&gt; &lt;li&gt; Open the console window&lt;br&gt; &lt;li&gt; If necessary, change the drive...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Console_Window_Directory_File_List&amp;diff=42979&amp;oldid=prev"/>
		<updated>2025-04-18T06:07:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=User Steps= These steps can be followed to output a printout of all files contained within a folder: &amp;lt;ol&amp;gt; &amp;lt;li&amp;gt; Open the console window&amp;lt;br&amp;gt; &amp;lt;li&amp;gt; If necessary, change the drive...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=User Steps=&lt;br /&gt;
These steps can be followed to output a printout of all files contained within a folder:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the console window&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If necessary, change the drive location (for example, to change from the C drive to the D drive use the syntax: &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;D:&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; then press Enter)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Change directory to the folder location where you would like to write a list of the files contained within it (example syntax: &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;cd D:\Example\TUFLOW\model\grid&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; then press Enter)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Write a text file listing the folder contents using the following syntax: &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dir &amp;gt; filename.txt&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
You can add a file extension to the syntax if you would like to restrict the list to files of a particular type. For example &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dir *.asc &amp;gt; filename.txt&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
A text file called &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;filename.txt&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; will be written to the folder you are working in. The file names are listed in the right-hand column.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:DOS_File_List_007.PNG|500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
=Example Application - Stitching ALS Data Tiles Together =&lt;br /&gt;
The above mentioned folder contents file may be useful during TUFLOW modelling if ALS topography data has been provided in tile format for a catchment. In some situations over 500 *.asc files may make up a complete study area. Rather than stitching the data into a single topography dataset using GIS software, data layering within the TGC can be used to read each source *.asc ALS tile into the TUFLOW flood model. The column edit mode in &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++]]&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;[[UltraEdit_Tips | UltraEdit]]&amp;lt;/u&amp;gt; make this update a simple exercise that takes minutes (rather than the onerous alternative of manually typing each command reference line one after another into the TGC).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;filename.txt&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; in &amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++]]&amp;lt;/u&amp;gt; or &amp;lt;u&amp;gt;[[UltraEdit_Tips | UltraEdit]]&amp;lt;/u&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Turn on column edit mode. &amp;lt;br&amp;gt;&lt;br /&gt;
* In Notepad++ hold in &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;Alt&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; prior to and during a selection &amp;lt;br&amp;gt;&lt;br /&gt;
* In UltraEdit hold in &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;Alt+C&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; prior to making a selection &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Select and copy the .asc or .flt file names.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:DOS File List 004.PNG|500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the TUFLOW Geometry Control (TGC) file. Set the global model elevation to a value that is above all expected elevations with the topography dataset. The command is: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;tt&amp;gt;&amp;lt;value&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
We recommend using this value to check for any missing data or gaps between the ALS tiles after running the TUFLOW model for the first time.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Paste the .asc file name list into the TGC file below the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:DOS File List 005.PNG|500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add the necessary command syntax and file path details left of the .asc file names using your preferred text editor (&amp;lt;u&amp;gt;[[NotepadPlusPlus_Tips | Notepad++]]&amp;lt;/u&amp;gt; or &amp;lt;u&amp;gt;[[UltraEdit_Tips | UltraEdit]]&amp;lt;/u&amp;gt;) using column edit mode. &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:DOS File List 006.PNG|500px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; After running the TUFLOW model for the first time, use the &amp;lt;u&amp;gt;[[TUFLOW_Check_Files | _DEM_Z.flt]]&amp;lt;/u&amp;gt; and / or &amp;lt;u&amp;gt;[[TUFLOW_Check_Files | _zpt_check]]&amp;lt;/u&amp;gt; simulation check files to confirm there are no topography data gaps. Do this by completing a search query for the global model elevation value that was used (in this example = &amp;lt;tt&amp;gt;2000&amp;lt;/tt&amp;gt;). If the global model elevation value is present within the check files, this represents a gap in your ALS topography dataset that requires correction or additional data.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pavlina Monhartova</name></author>
	</entry>
</feed>