How to run a PowerShell script in folder having space in its name?
0
Running a script in C:UsersOokerDesktop is fine, but yields error in C:UsersOokerAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup . I guess it's because of Start Menu have space in between, but I don't know how to double click the file and make it run. There seems to have no way to bracket the path beforehand. I can run it in CLI, and it doesn't reference itself.
powershell
share | improve this question
edited Nov 16 '18 at 12:12
James C.
9,126 2 22 33
asked Nov 16 '18 at 5:39