resticprofile icon indicating copy to clipboard operation
resticprofile copied to clipboard

The default shell on Windows should be Windows PowerShell

Open AnimMouse opened this issue 1 year ago • 1 comments

When using the default cmd shell on Windows, restic binary that are in Program Files like C:\Program Files\restic\restic.exe will result to 'C:\Program' is not recognized as an internal or external command, operable program or batch file. error due to spaces in path. Changing shell to powershell (Windows PowerShell) will solve this. pwsh (PowerShell Core) also works but it is not pre-installed on Windows yet.

AnimMouse avatar Feb 16 '24 15:02 AnimMouse

We do have an issue with escaping spaces in Windows 😢 the annoying thing it that it's different for those 3 shells 😠

I haven't had a chance to fix it yet because it takes about 2 hours for my Windows VM to do updates every time I boot it up 😞 It's going in a spiral, the less I use it the longer it takes on the next restart 🤷🏻

creativeprojects avatar Feb 18 '24 13:02 creativeprojects