Hi GlennBC,
Below is an example of how to use it. Please let me know if you need any further information.
Run an embedded script within your process that contains a line like the below, only adjust the path statements for your environment of course:
REM ReplaceTokens .\Deploy\AnswerFiles\AutoUnattend.xml .\temp\%ID%.xml
At a later stage in your build process you will then copy that file across to the target machine by referring to that %ID%.XML. Note, you can always change the target extension to whatever you want or need to, so no need to stick with that either!
COPY /Y \\%DSSERVER%\eXpress\temp\%ID%.xml C:\Disney\AutoUnattend.xml
Here again, make sure you have the source and destination path statements adjusted for your environment.
Summarized, it's like that:
If you use Altiris variables like %COMPNAME%, etc from within an embedded script, they will automatically be replaced with the value. if they are used in a file of whatever type and extension, you need to tell Altiris to walk thru the file and replace any of these variables with its values from that Deployment Server (that's where the REM ReplaceTokens command kicks in).
-BBC