Step 1)
Create a file named with .bat file extension, such as "clean.bat"
Step 2)
:: if you want to write comment, use :: as line prefix
example:::Delete folders@ECHO OFFrmdir /s /q "D:\data\diffList\out"mkdir "D:\data\diffList\out"del /s /q "D:\data\diffList\log\*.log"
Step 3)
Double click the file to run.
Reference:
https://stackoverflow.com/questions/16727941/how-do-i-execute-cmd-commands-through-a-batch-file
No comments :
Post a Comment