Closed markendr closed 1 year ago
Hello @markendr,
you have to set the parameter -longpaths for PS2EXE.ps1 to enable long path interpretation.
Greetings
Markus
Hi Markus,
Thanks for the quick reply that long paths are supported -- much appreciated!
Cheers
I have been trying to get long paths working as per ms doc. The following works as expected on pwsh cmd line, or as a PS1 script..
If compile this one-liner with
Invoke-PS2EXE
i get the following error..Using a process of elimination
?
is the problem, which seems strange since?
should not be illegal with LiteralPath as far as I understand..Issue #92 seems related but I am not clear if there is a workaround I can use, or if it will need a PS2EXE update.
Thanks, Mark