devil270975 Posted November 1, 2003 Posted November 1, 2003 hi there peeps, i have a little problem with this bit of code @echo offfor /f "tokens=2 delims=-" %%i in ('dir /b *.exe') do (if not exist %%i.exe rename windows* %%i.exe)exitbasically what i am trying to do is rename a bunch of hotfixes to there number ie kb123456 or q123456, but when i execute the script it renames the files but i get a message on every loop saying a duplicate file or file not found, what is going on or is this normal? any help would be much appreciatedLee
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now