|Loop in a specific Directory
|Page 1 of 1|
|Author:||smurfsmurfsmurf [ Wed Jan 18, 2017 6:00 am ]|
|Post subject:||Loop in a specific Directory|
I'm not sure if im correct here, but im trying.
At the moment i am trying to make a command line code run from vba editor in excel.
Therefore I need the following Code in one line, but I'm unable to change it in that way.
Code is following:
for /f "skip=2 delims=" %F in ('dir *.* /B /O-D /A-D') do del "%F"
Is there a possibility to get thos two lines compressed in only one?
|Page 1 of 1||All times are UTC - 8 hours [ DST ]|
|Powered by phpBB® Forum Software © phpBB Group