- Jun
- 137
- 3
I have a file that looks a bit like an INI file, but isn't. It has the following three lines at the end of the file:
[START_BACKUP_LIST]
!!LIST
[END_BACKUP_LIST]
I need to modify the line with !!LIST in it and replace it with a line containing text stored in the _SOURCE environment variable. In my test case, _SOURCE is set to u:\Aurora\Builds\3.1\3.1.75.0\CD. What it should look like is:
[START_BACKUP_LIST]
u:\Aurora\Builds\3.1\3.1.75.0\CD
[END_BACKUP_LIST]
So this is what I tried:
tpipe /input=%TEMP%\CreateISO.ibb /replace=0,0,0,0,0,0,0,0,0,!!LIST,%@quote[%_SOURCE%] /output=%TEMP%\CreateISO.ibb
Nope! This time I get an error:
TPIPE: \DDD must start with the decimal digit 0, 1 or 2 (Leading zeros are required). Valid range is 000-255
Huh? What is it talking about? (BTW, TEMP is set to C:\Temp.)
[START_BACKUP_LIST]
!!LIST
[END_BACKUP_LIST]
I need to modify the line with !!LIST in it and replace it with a line containing text stored in the _SOURCE environment variable. In my test case, _SOURCE is set to u:\Aurora\Builds\3.1\3.1.75.0\CD. What it should look like is:
[START_BACKUP_LIST]
u:\Aurora\Builds\3.1\3.1.75.0\CD
[END_BACKUP_LIST]
So this is what I tried:
tpipe /input=%TEMP%\CreateISO.ibb /replace=0,0,0,0,0,0,0,0,0,!!LIST,%@quote[%_SOURCE%] /output=%TEMP%\CreateISO.ibb
Nope! This time I get an error:
TPIPE: \DDD must start with the decimal digit 0, 1 or 2 (Leading zeros are required). Valid range is 000-255
Huh? What is it talking about? (BTW, TEMP is set to C:\Temp.)