Skip to content

Conda uninstaller create file when directory contains space in it path #1020

@CelestineSauvage

Description

@CelestineSauvage

Checklist

  • I added a descriptive title
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type::bugdescribes erroneous operation, use severity::* to classify the type

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions