[SOLVED] Command line option for disk ID not recognized

User discussion and information resource forum for Image products.
Post Reply
normadize
Posts: 2
Joined: Wed Oct 15, 2014 1:52 am

[SOLVED] Command line option for disk ID not recognized

Post by normadize »

Hi,

I wanted to backup from command line in IFW, using the Disk ID (not the number), to avoid disk reordering by Windows. I've read the documentation and I thought I got it right, but it fails. It could be a bug in IFW.

This is the command I've used:

start "" "C:\Program Files (x86)\TeraByte Unlimited\Image for Windows\V2\imagew64.exe" /b /d:#EAD05EE1 /f:"\\?\Volume{638deda8-00e9-11e4-beea-902b3457e49e}\Backup\Big\Backup-Big" /max:50GiB /comp:14 /hash /iop:0 /priority:0

It starts and immediately gives the error:

Invalid parameter: /d:#EAD05EE1

/d:w#EAD05EE1 gives the same error. HOWEVER, /d:w2 works fine.

Any clues? Seems like a bug in IFW, unless I'm missing something.

Thanks

NOTE: The disk id EAD05EE1 was obtained from diskpart and it is correct.
Last edited by normadize on Wed Oct 15, 2014 2:08 am, edited 1 time in total.
TeraByte Support
Posts: 3628
Joined: Thu May 05, 2011 10:37 pm

Re: command line option for disk ID gives error

Post by TeraByte Support »

You need a 0x in front if it to indicate it's a hexadecimal number.
d:#0xEAD05EE1

"normadize" wrote in message news:8758@public.image...

Hi,

I wanted to backup from command line in IFW, using the Disk ID (not the
number), to avoid disk reordering by Windows. I've read the documentation
and I thought I got it right, but it fails. It could be a bug in IFW.

This is the command I've used:

start "" "C:\Program Files (x86)\TeraByte Unlimited\Image for
Windows\V2\imagew64.exe" /b /d:#EAD05EE1
/f:"\\?\Volume{638deda8-00e9-11e4-beea-902b3457e49e}\Backup\Big\Backup-Big"
/max:50GiB /comp:14 /hash /iop:0 /priority:0

It starts and immediately gives the error:

Invalid parameter: /d:#EAD05EE1

/d:w#EAD05EE1 gives the same error. HOWEVER, /d:w2 works fine.

Any clues? Seems like a bug in IFW, unless I'm missing something.

Thanks

NOTE: The disk id EAD05EE1 was obtained from diskpart and it is correct.

normadize
Posts: 2
Joined: Wed Oct 15, 2014 1:52 am

Re: command line option for disk ID not recognized (error)

Post by normadize »

I was being silly. I forgot to add 0x in front of the disk id, like so /d:0xEAD05EE1

I'm leaving this here in case others have the same issue
Post Reply