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.

CMD-line parameter issues /x

Postby okrona » Fri Jun 10, 2016 2:06 am

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 1:56 am

Re: CMD-line parameter issues /x

Postby TeraByte Support » Fri Jun 10, 2016 6:52 pm

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

TeraByte Support
 
Posts: 2313
Joined: Thu May 05, 2011 3:37 pm

Re: CMD-line parameter issues /x

Postby okrona » Mon Jun 13, 2016 2:08 am

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
okrona
 
Posts: 5
Joined: Wed Apr 13, 2016 1:56 am


Return to Scripting