PS2EXE
PS2EXE copied to clipboard
Issue with $PSScriptroot
I've noticed that if I try using $PSscriptroot, the compiled exe seems to ignore it. If I run the PS natively, everything works correctly. Once the script is compiled, it doesn't seem to recognize the folder it's being run from.
Hello @bettman406,
please see the readme page, section Script variables under Remarks: https://github.com/MScholtes/PS2EXE#script-variables
Greetings
Markus
Closed since no reaction