1.

Solve : RE:urgent doff?

Answer»

try to use doff utility to run batch script. fail
-need to find all the month, year and date . how to use the doff /mm/dd/yy function like find all the file type
\Fin__20081126.tgz -with yyyymmdate (year,month and date)


-Move D:\FW_Purge_archive>move D:\FW_Purge_archive\Fin__20081126.tgz D:\FW_Purge_archi
ve\zipfiles\2008\-11







D:\FW_Purge_archive>for /F "tokens=1-3 delims=/ " %a in ('doff mm/dd/yy -1') do
(
set mm=%a
set dd=%b
set yyyy=%c
)

D:\FW_Purge_archive>(
set mm=11
set dd=26
set yyyy=08
)

D:\FW_Purge_archive>D:

D:\FW_Purge_archive>move D:\FW_Purge_archive\Fin__20081126.tgz D:\FW_Purge_archi
ve\zipfiles\2008\-11
The system cannot find the file specified.

D:\FW_Purge_archive>pause
Press any KEY to CONTINUE . . .



Discussion

No Comment Found