B
Bertoldino
hi
I'd like to use robocopy for some automated backups
my problems:
robocopy seems not to create the destination directory, so I have to create
it before starting copy jobs
I want to create these directories with names like "YYYY_MM_DD_HHMM" (e.g.
2008_02_19_1455)
how can i retrieve these informations, transform them in one variable and
then use it for creation of the directory and next copy job?
my flow: retrieve YYYY, MM, DD, HH, MM; create YYYY_MM_DD_HHMM , store it in
a variable %todaydir%, MD \mypath\%todaydir% ; robocopy source
\mypath\%todaydir%
but... i don't know how to retrieve these values :-/
thanks for your time
I'd like to use robocopy for some automated backups
my problems:
robocopy seems not to create the destination directory, so I have to create
it before starting copy jobs
I want to create these directories with names like "YYYY_MM_DD_HHMM" (e.g.
2008_02_19_1455)
how can i retrieve these informations, transform them in one variable and
then use it for creation of the directory and next copy job?
my flow: retrieve YYYY, MM, DD, HH, MM; create YYYY_MM_DD_HHMM , store it in
a variable %todaydir%, MD \mypath\%todaydir% ; robocopy source
\mypath\%todaydir%
but... i don't know how to retrieve these values :-/
thanks for your time