0

Whenever the command "where python" is executed a path is shown that leads me to the .exe file. Problem is that whenever I try to delete the file this window pops up:

enter image description here

I've tried installing python from that file but to no avail. A bunch of 0 kB files spring up but again I can't delete .exe.
How can I safely delete the file?

4
  • Does this answer your question? Typing “python” on Windows 10 (version 1903) command prompt opens Microsoft store
    – Ramhound
    Commented Mar 3, 2021 at 1:04
  • This is indeed a duplicate. The file you are attempting to delete isn't corrupt, it's simply currently in use. See the duplicate how to properly get rid of the file.
    – Ramhound
    Commented Mar 3, 2021 at 1:04
  • Do you mean files obtained by dir %LOCALAPPDATA%\Microsoft\WindowsApps\python*?
    – JosefZ
    Commented Mar 3, 2021 at 11:47
  • Yes and thank you for the response and it is indeed a duplicate but using del <name_of_file> (in this case python.exe) solved the problem
    – X HOxha
    Commented Mar 3, 2021 at 17:05

0

You must log in to answer this question.

Browse other questions tagged .