CMD-line parameter issues /x

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
Post Reply
okrona
Posts: 5
Joined: Wed Apr 13, 2016 8:56 am

CMD-line parameter issues /x

Post by okrona »

The following image restore CMD line which i use in a batchscript doesnt extend the drive:

%ImageName%= Previous userpicked image-variable.

x:\IFW\imagew.exe /r /o /d:0 /x /f:"X:\images\%ImageName%" /rb:0

I've tried putting the /x in the end of the line aswell, doesn't extend either.

Does this have something to do with the fact that I only use /d:0 instead of /d:0@00?

Best regards,
Oliver
TeraByte Support
Posts: 3596
Joined: Thu May 05, 2011 10:37 pm

Re: CMD-line parameter issues /x

Post by TeraByte Support »

what's the log show?



"okrona" wrote in message news:11660@public.scripting...

The following image restore CMD line which i use in a batchscript doesnt
extend the drive:

%ImageName%= Previous userpicked image-variable.

x:\IFW\imagew.exe /r /o /d:0 /x /f:"X:\images\%ImageName%" /rb:0

I've tried putting the /x in the end of the line aswell, doesn't extend
either.

Does this have something to do with the fact that I only use /d:0 instead of
/d:0@00?

Best regards,
Oliver

okrona
Posts: 5
Joined: Wed Apr 13, 2016 8:56 am

Re: CMD-line parameter issues /x

Post by okrona »

Hi!

IFW.log entries below:

One with /X in the very end:
[6/8/2016 4:18:51 PM] x:\IFW\imagew.exe /nousbpwrfix /r /o /d:0 /f:X:\images\kernel.TBI /rb:0 /x
[6/8/2016 4:18:51 PM] Image for Windows 2.98
[6/8/2016 4:18:51 PM] Starting ...
imagew.exe /r /d:w0 /f:"X:\images\kernel.TBI" /o /x
[6/8/2016 4:18:52 PM] Restoring: MBR 0 Partition (01) 12288 MiB HPFS/NTFS
[6/8/2016 4:18:52 PM] To: Drive 0 (C:) ------- Partition (80) 238474 MiB Free Space
[6/8/2016 4:18:52 PM] From: X:\images\kernel.TBI
[6/8/2016 4:21:23 PM] Operation Completed with Error Code 0
[6/8/2016 4:21:23 PM] Stop

One with /X after the disc choice:
[6/9/2016 4:03:43 PM] x:\IFW\imagew.exe /r /o /d:0 /x /f:X:\images\kernel.TBI /rb:0
[6/9/2016 4:03:44 PM] Image for Windows 2.98
[6/9/2016 4:03:44 PM] Starting ...
imagew.exe /r /d:w0 /f:"X:\images\kernel.TBI" /o /x
[6/9/2016 4:03:44 PM] Restoring: MBR 0 Partition (01) 12288 MiB HPFS/NTFS
[6/9/2016 4:03:44 PM] To: Drive 0 (C:) ------- Partition (80) 238474 MiB Free Space
[6/9/2016 4:03:44 PM] From: X:\images\kernel.TBI
[6/9/2016 4:06:16 PM] Operation Completed with Error Code 0
[6/9/2016 4:06:16 PM] Stop

One with /X before the disk choice:
[5/18/2016 10:43:29 AM] x:\IFW\imagew.exe /nousbpwrfix /r /o /x /d:0 /f:X:\images\kernel.TBI /rb:0
[5/18/2016 10:43:29 AM] Image for Windows 2.98
[5/18/2016 10:43:29 AM] Starting ...
imagew.exe /r /d:w0 /f:"X:\images\kernel.TBI" /o /x
[5/18/2016 10:43:29 AM] Restoring: MBR 0 Partition (01) 12288 MiB HPFS/NTFS
[5/18/2016 10:43:29 AM] To: Drive 0 (C:) ------- Partition (80) 238474 MiB Free Space
[5/18/2016 10:43:29 AM] From: X:\images\kernel.TBI
[5/18/2016 10:46:02 AM] Operation Completed with Error Code 0
[5/18/2016 10:46:02 AM] Stop


Best regards,
Oliver
Post Reply