
DOS and Batch Files
Create 0 Byte Place Holder Files
SUMMARY: Create placeholder files when debugging DOS batch files.
If you need to create files from a batch file that merely act as place holders (i.e. they take up no hard drive space, just space in the directory), use the REM command and redirect its output to a filename of your choosing. This can be useful in case you have a batch file that works in many directories. You can have the batch file put a placeholder in every directory it acts upon, allowing you to see if the batch file worked correctly or not.
Return to the DOS and Batch Files page.
blog comments powered by Disqus
![[Home]](http://malektips2.com/graphics/logo-small.png)