resticprofile
resticprofile copied to clipboard
The default shell on Windows should be Windows PowerShell
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.
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 🤷🏻