Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issues with VScode: Cannot open, code.exe file missing, and failed download

I have been having some issues with my VScode. I am unable to open it and instead, I see a message that the code.exe file has been moved or deleted.

I have tried to reinstall VSCode from the official website, but it failed to download and showed a 'couldn't download' message after reaching 100%. I also attempted to download the file on my phone and transfer it to my laptop, but the file disappeared a few seconds later. I expected to successfully reinstall VSCode and be able to use it without any issues.

like image 223
kebsixx Avatar asked Jan 20 '26 08:01

kebsixx


2 Answers

I had the exact same problem today.

My VSCode code.exe did move to: C:\Users\<User>\AppData\Local\Programs\Microsoft VS Code_

There is a new folder with the name "_".

like image 156
JackZ Avatar answered Jan 23 '26 21:01

JackZ


I was also facing the same issue, but I resolved it by following these steps:

  1. Navigate to

    C:\Users\<User>\AppData\Local\Programs\Microsoft VS Code

  2. Open the _ folder inside it

  3. Locate the app executable file (Code.exe), right click it, and select show more option > create shortcut

  4. Cut the shortcut and paste it to your desktop

like image 23
Shivam Tiwari Avatar answered Jan 23 '26 20:01

Shivam Tiwari



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!