Post-setup commands using %windir%

garlin

Moderator
Staff member
When using a variable like %windir% in my command, NTLite likes to expand it to %%windir%% or even %%%%windir%%%%.
The expansion happens after I reload the preset.

What's the right way to run this:
%windir%\Microsoft.NET\Framework\v2.0.50727\ngen.exeexecuteQueuedItems
 
%var% expansion only happens onscreen, it doesn't affect the SetupComplete lines. But NTLite is making a second copy of all my %windir% lines below the placeholder line.
 
Thanks for the report.
Fixed the %-sign displaying for the next update.

Potentially the duplicating is solved with it as well, will send for review, then I would need a preset demonstrating the issue.
 
Back
Top