Not running bat file is not looking for files -


good day. tell me how implement batch file had not worked. batch file checks presence of 2 files (2 txt file - 123.txt , 321.txt) c drive, after checking if are, remove them

you can directly delete them without checking:

del /q /f "c:\123.txt" "c:\321.txt" 2>nul 

if want checking anyway:

if exist  "c:\123.txt" del /q /f "c:\123.txt"  if exist  "c:\321.txt" del /q /f "c:\321.txt"  

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -