DOS Batch File Scripting Help - TechRepublic
Question
July 11, 2010 at 02:06 PM
jhamilto

DOS Batch File Scripting Help

by jhamilto . Updated 15 years, 11 months ago

I have some (*.txt, *.log,) & another type with a date extension…..files to delete out of some directories on different locations on the C:\ drive of a PC.
I want to open notepad and write a text file and then save as a batch file. I need the script to open up directory paths and erase files with (*.txt, *.log). What is the correct syntax to open directory and erase the file in respective path’s of c:

This discussion is locked

All Comments