Here is how I am doing this rename today using a batch file and having VC execute the batch:
set MONTH=
set DAY=
set YEAR=
set HOUR=
set MIN=
set SEC=
set MIN=%time:~3,2%
set SEC=%time:~6,2%
set HOUR=%time:~0,2%
if "%HOUR:~0,1%"==" " set HOUR=0%time:~1,1%
set MONTH=%DATE:~4,2%
set DAY=%DATE:~7,2%
set YEAR=%DATE:~10,4%
rename D:\databackup\Inbound\*.000 *-BK-"%YEAR%%MONTH%%DAY%-%HOUR%%MIN%%SEC%".txt
Thanks
Mark