Errors and Solutions
Thursday, January 31, 2019
[DOS] Call more than one command in For Loop
Add '&'
here is an example:
FOR /D %%P IN ("*HQ*") DO ECHO DELETING "%%P" & PAUSE & IF EXIST "%%P" RD /S /Q "%%P"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment