
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.
Get E-Mail When New Tips are Online
Return to the DOS and Batch Files page.
New in MalekTips: