You need some empty envvar for test, they may be defined with e.g. Autorun plugin using following config lines:
Code: Select all
SetEnv ADM
SetEnv NONE_OR_64
1. TC expands empty var in program path (first use) but not in rest of command line (second use):
Code: Select all
"D:\notepad.exe%NONE_OR_64%.exe" File%NONE_OR_64%.txt
Code: Select all
%ADM%"C:\Windows\notepad.exe" 1.txt
Code: Select all
%ADM%"C:\Windows\notepad.exe"
Code: Select all
"%ADM%C:\Windows\notepad.exe" 1.txt