Where is my mistake ?????

Disk backup and restore, partition imaging and cloning, and drive copy using R-Drive Image.
Forum rules
Discussion on the R-Drive Image software
otto_cuiseur
Posts: 5
Joined: Wed Feb 04, 2009 6:14 am

Where is my mistake ?????

Post by otto_cuiseur » Wed Feb 04, 2009 6:29 am

My script is :

[ REM R-DriveImage script file ]
set creat_date = "&sys.date.yyyy;-&sys.date.m.nm;-&sys.date.y;"
create /a /o -s="1" -a="G:\Image &creat_date;.arc" -c=0 -u -bs -bs-num-f="3"


As result, the file name is Image 2009-Feb-09_20090204_122002_1.arc


How to obtain as file name : Image 2009-Feb-09.arc ? without :twisted: :twisted: :twisted: _20090204_122002_1


Thanks

otto_cuiseur
Posts: 5
Joined: Wed Feb 04, 2009 6:14 am

Re: Where is my mistake ?????

Post by otto_cuiseur » Thu Feb 05, 2009 6:36 am

A good script ?

[ REM R-DriveImage script file ]
set creat_date = "&sys.date.yyyy;-&sys.date.m.nm;-&sys.date.d;"
create /a /o -s="1" -a="G:\Image &creat_date;.arc" -c=0 -u

[ without backup set]
; -bs -bs-num-f="3"

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Where is my mistake ?????

Post by Alt » Thu Feb 05, 2009 10:05 am

How to obtain as file name : Image 2009-Feb-09.arc ? without _20090204_122002_1
Remove -bs -bs-num-f="3" from your script. As soon as you turn on backup sets, the date_time_Number will be automatically added to the file name.
A good script ?
I tested it (changing the partition and path to the image file) and it appears so.

otto_cuiseur
Posts: 5
Joined: Wed Feb 04, 2009 6:14 am

Re: Where is my mistake ?????

Post by otto_cuiseur » Thu Feb 05, 2009 11:08 am

Ok -

Thanks Alt

Post Reply