Hyperlink to .bat file within an Excel file, no longer works. "No Program is registered to open this file"
Solution 1:
Have you installed any software before this issue?
I suggest you locate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat
, check whether there is any other program associated with .bat file.
- If yes, you may backup the registry of .bat first, and restore .bat files with default settings.
Generally, the default registry entries are OpenWithList
and OpenWithProgids
, for more you may refer to following images.
- If not, I suggest you add the path of these bacth files into Excel Trusted Location. (File > Options > Trusted Center > Trusted Center Settings > Trusted Locations > Add new location).
Run SFC scan.
- Search "Command Prompt", right-click it, run as Administrator.
- Click Continue or supply Administrator credentials if prompted.
- In the Command Prompt window type the following, and press Enter: sfc /scannow