0
how to replace del with move
for /f "skip=7 eol=: delims=" %F in ('dir /b /o-d /a-d *.sav') do @del "%F" how to replace del with move
6 Respostas
0
basic, i think... it runs in command prompt and i have managed to almost figure it out...
for /f "skip=2 eol=: delims=" %F in ('dir /b /o-d /a-d *.sav') do @move /Y "%F" "C:\Users\steve\AppData\Roaming\Surviving Mars\old mars"
but it wont work for .bat
0
not quite...
I'm trying to move everything but the most recent X number of files to a specific place.
0
figured it out
cmd < "C:\Users\steve\AppData\Roaming\Surviving Mars\Auto move.txt"
Auto move.txt says
CD C:\Users\steve\AppData\Roaming\Surviving Mars\save
for /f "skip=2 eol=: delims=" %F in ('dir /b /o-d /a-d *.sav') do @move /Y "%F" "C:\Users\steve\AppData\Roaming\Surviving Mars\old mars"
thanks for trying