Post Reply 
Help with DOS batch file please
07-30-2014, 08:30 PM
Post: #6
RE: Help with DOS batch file please
Or... cmd anyways:

Code:
for /f "delims=" %%i in ('dir /b') do call :rename "%%~fi"
goto end
:rename
set a=%1
set a=%a:TEXT_TO_REMOVE=%
move %1 %a%
:end

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Help with DOS batch file please - Joe Horn - 07-30-2014, 06:13 PM
RE: Help with DOS batch file please - eried - 07-30-2014 08:30 PM



User(s) browsing this thread: 1 Guest(s)