Search found 1 match

by mario.marra
28 Nov 2011 05:53
Forum: DOS Batch Forum
Topic: rename problem
Replies: 2
Views: 3465

rename problem

Hi, i need to rename a lot of files created with NTBackup. Each files name is Backupxx.log and i want to rename them in Backupyearmonthdayhhmmsec.log. From a dos code founded in this forum, i've written the following code: @echo off for %%i in (*.log) do (set fname=%%i) & call :rename goto :eof ...