How to variablise %appdata% in StubPath key of Active Setup?
Hi, I have the below command needs to be set in the StubPath. It worked fine in DOS, but does not work in StubPath key. I tried to change %appdata% to hardcoded path and it worked. Can anyone please tell me how should I variablise %appdata%? Thanks.
xcopy C:\Atlas\GlobeSoftware %appdata%\GlobeSoftware\ /e /c /y
cmd /c "xcopy %SystemDrive%\Atlas\GlobeSoftware %AppData%\GlobeSoftware\ /e /c /y"
Community Chosen Answer
StubPath value should be like this
cmd /c "xcopy C:\Atlas\GlobeSoftware %AppData%\GlobeSoftware\ /e /c /y"