LogFile=%TBDrive%... syntax in 'ifw.ini' TBWinRE
Posted: Thu May 21, 2020 7:23 pm
LogFile=D:\IFW_Restore\IFW_log.txt in 'ifw.ini' specifies the path and filename of the log file and works just fine.
while LogFile=%TBDrive%\IFW_Restore\IFW_log.txt does NOT.
neither does LogFile="%TBDrive%\IFW_Restore\IFW_log.txt" (with quotes)
Yet if I type %TBDrive% in CMD shell it returns "D:"
For example, the following code in RunScript.cmd works fine, too:
if not exist "%TBDrive%\IFW_Restore\" mkdir %TBDrive%\IFW_Restore
So, how do I use %TBDrive% to specify the path for a filename of the log file as a global parameter for IFW? Which can be used in IFW GIU
TBWinRE is created and used on Windows 10 machine and overall works fine
I have read https://www.terabyteunlimited.com/howto ... ttings.htm
while LogFile=%TBDrive%\IFW_Restore\IFW_log.txt does NOT.
neither does LogFile="%TBDrive%\IFW_Restore\IFW_log.txt" (with quotes)
Yet if I type %TBDrive% in CMD shell it returns "D:"
For example, the following code in RunScript.cmd works fine, too:
if not exist "%TBDrive%\IFW_Restore\" mkdir %TBDrive%\IFW_Restore
So, how do I use %TBDrive% to specify the path for a filename of the log file as a global parameter for IFW? Which can be used in IFW GIU
TBWinRE is created and used on Windows 10 machine and overall works fine
I have read https://www.terabyteunlimited.com/howto ... ttings.htm