Skip to main content
Question

Deleted Shortcut

  • May 22, 2026
  • 13 replies
  • 114 views

Paul Richards
Forum|alt.badge.img+2

I have Visual COBOL + Microsoft Visual Studio on my Windows 11  laptop. I inadvertently deleted the shortcut that I used to launch Visual COBOL+VS. I cannot figure out how to restore the shortcut. Can anyone advise me on how to rebuild the correct shortcut? Thanks

13 replies

Chris Glazier
Forum|alt.badge.img+4

Hi Paul,

You can navigate to the devenv.exe file and right-click and select “create shortcut” or “send to->Desktop” or you can pin it to the taskbar.

 


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • May 22, 2026

Chris

I don’t appear to have devenv.exe on my laptop. I’m using Visual Studio Community Edition but surely this does not make a difference.

 


Chris Glazier
Forum|alt.badge.img+4

I believe that you may have deleted more than just the shortcut as devenv.exe (which is Visual Studio) should be in that folder.

Try moving back a few folders to open C:\Program Files\Microsoft Visual Studio\2022\ and then in the search bar search for devenv.exe. If it is not found then I would recommend that you either repair or reinstall Visual Studio.


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • May 30, 2026

Chris

I’m stymied. I cannot download either VC or VS Selecting the option to download or install them does not work. I’ve been in contact with Rocket Software and they are looking into the VC issue.


Chris Glazier
Forum|alt.badge.img+4

Hi Paul,

I believe, in order to download Visual Studio versions prior to VS2026, Microsoft now requires you to have a valid subscription. I know there are still locations, besides Microsoft where you can download VS2022 Community Edition though.

How are you trying to download the Visual COBOL product?

If you are trying to download the latest Personal Edition and you have used your email address to download a previous version, then an email may not be sent to you. If this is the case, I would recommend using a different email address (if you have one), this time.

As of V11.0 PU5, if you have a maintenance agreement with Rocket, Visual COBOL for Visual Studio can now be installed into Visual Studio 2026. There is a new GA base release that can be downloaded from the RCC for this and then you can install PU5 on top of that.

We have not however, made this available for the VC PE version yet.


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • June 3, 2026

Chris, I’m afraid I can’t download either VS Community or VC Personal edition. I’ve only tried Microsoft’s website - I don’t know any other non-Microsoft locations where I could download it. And I still can’t download VC Personal edition despite going round the houses following the Rocket website.


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • June 4, 2026

Chris

I have found in my backups that I have vcvs2022_100.exe. Can I reinstall this over the existing broken VC? I did try to repair VC but I was unable to, presumably because of missing software. I presume that an attempt to delete would fail for the same reason.

I also have VisualStudio2022setup.exe. I presume, apart from the fact that there have been a lot of updates since I originally installed this, that I could use this to reinstall VS - and add the updates following this.Correct?  

 


Chris Glazier
Forum|alt.badge.img+4

You will need to uninstall Visual COBOL first and then uninstall Visual Studio and then reinstall Visual Studio and then Visual COBOL again.

If you cannot uninstall Visual COBOL then please show me what the error looks like...


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • June 6, 2026

I replied to your last message but received a message that my input was held pending moderator’s input. Presumably it has not yet been cleared. It contained a screen shot of the result of trying to delete VC and also a cut and paste of the log file.


Chris Glazier
Forum|alt.badge.img+4

I did not see that held message yet. Can you please tell me what the error code is that you receive and try uploading the log file instead of pasting it in?


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • June 8, 2026

Chris

Attempting to uninstall VC, got the message ‘Setup failed’, the error code was: 0x8007002 and ‘the system cannot find the file specified’

Log file loaded.

 


Chris Glazier
Forum|alt.badge.img+4

Does a Repair on Visual COBOL return the same error?

Will it allow you to run the Visual COBOL installer while the existing Visual COBOL is still in this state?

If it will, try installing Visual COBOL from the installer and then immediately try uninstalling it again.

If these things don’t work you might try running the following from an administrative command prompt:

            wmic product where "name like '%%Visual COBOL%%'" call uninstall


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • June 10, 2026

Chris

I am astounded. I originally ran the Repair option and received the error message  ‘Setup failed’, the error code was: 0x8007002 and ‘the system cannot find the file specified’ as previously reported and then subsequently failed to uninstall.

As you suggested I reran the Repair option and to my amazement the process finished with a successful message. I can now load VC having seen devenv.exe reappear in the C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE folder.

You may have more insight as to why this attempt succeeded and previous attempts failed. I am just relieved that I’ve got VS/VC back. Thanks Chris.