Conda uninstaller create file when directory contains space in it path
- Dominant language
- Python
- Stars
- 497
- Forks
- 181
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 17
Description
### Checklist
- [x] I added a descriptive title
- [x] I searched open reports and couldn't find a duplicate
### What happened?
I have a problem when using the uninstaller with PowerShell. My installation folder is located in `C:\Program Files`.
When I run the uninstallation with
`Start-Process -FilePath "C:\Program Files\Miniconda3\Uninstall-Miniconda3.exe" -ArgumentList "/S" -NoNewWindow -Wait`
a file named `Program` is created at the root of my `C` drive. This file is non-empty and contains (in french) :
```
'""C:\Program' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
```
I have tried the options listed in the documentation here: https://conda.github.io/constructor/cli-options/#windows-installers, using the /D option where they mention space in path (if I understand correctly?), but I still get the same result.
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.