Sunday, September 18, 2011

rename files under DOS and Windows

for /f %i in (sub.bat) do @echo ren "%i" "[xxxx].{original name}.bat

## del the Windows moutn point manually.

mountvol | find "VS6" > 1.list

for /f %i in (1.list) do @echo mountvol %i /d >> 1.bat

0 comments: