Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 1 day old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Which works perfect if i run it in a Shell with PS V5.1, but it doesn't work in the GUI i'm working on since it's only a Host with Version 5.0. so i get the Error:
It probably has to do with the current directory of the console / packager executable and with not with the fact that it is a GUI or a packaged executable.
Long path names does not work with shares. It works only with physical drives. The "\\?" is a physical device specifier which is why we must use "LiteralPath".
This topic is 6 years and 1 day old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.