I have DS 6.9 SP1. I am trying to replace tokens in s sysprep.inf file using PXE DOS automation environment.
I was scratching my head as to why this simple script does not work from a batch file:
===================Tokenize.bat :
REM ReplaceTokens .\sysprep\sysprep.inf .\temp\%ID%.txt
=============
In the Express share\Temp folder I see a batch file named "5000003.bat" appearing. This batch file is the same as my batch file and the token %ID% is properly replaced with 5000003.txt:
===============5000003.bat :
REM ReplaceTokens .\sysprep\sysprep.inf .\temp\5000003.txt
================
However, in the temp folder I expected to see the file 5000003.txt which never appeared. So, for some reason the
ReplaceTokens command does not create the destination file...
So, I have decided to use the second option: "Run this script" and pasted the same contents of my batch file in the text field there. Supprisingly, after running the script, the destination sysprep file with replaved tokens appeared. So, it worked.
Is this by design, a bug or I am missing something?