Software⏱️ 3 min read📅 2026-06-11

How to Fix: Shortcuts with command line arguments blocked with IE error - These files can't be opened

IE error prevents .lnk files with command-line arguments from opening on Windows 8.

Quick Answer: Try setting the 'Launch to' option in the shortcut's properties to 'Always open with', and then select the executable file without the arguments.

Shortcuts with command line arguments are not executing on Windows 8 due to Internet Explorer security settings. This issue affects users who have shortcuts (.lnk files) that require command-line arguments to function correctly.

This problem is frustrating because it prevents the execution of essential shortcuts, and there isn't a clear reason why this specific behavior occurs.

🔍 Why This Happens

  • The primary cause of this error is the interaction between Internet Explorer's security settings and the way Windows handles file associations. Specifically, Internet Explorer's 'Launching applications and unsafe files' setting is blocking the execution of shortcuts with command-line arguments.
  • An alternative reason for this issue could be related to the file association scheme used by Windows when launching shortcuts from certain applications like xplorer2.

🚀 How to Resolve This Issue

Disable Internet Explorer's 'Launching applications and unsafe files' setting

  1. Step 1: Open Internet Options by clicking on Tools > Internet Options in the browser.
  2. Step 2: Click on the Security tab and then click on the Local Intranet button.
  3. Step 3: In the Local Intranet settings, uncheck the box next to 'Launching applications and unsafe files'.
  4. Step 4: Click Apply and then OK to close all the windows.

Update Windows file association scheme

  1. Step 1: Open the Registry Editor by typing `regedit` in the Run dialog box (Windows key + R).
  2. Step 2: Navigate to the following registry key: HKEY_CLASSES_ROOT ileatch lyweight.
  3. Step 3: In the right-hand pane, double-click on the 'shell' value and select Modify.
  4. Step 4: In the Value data field, add the following string: `cmd /c %1`.
  5. Step 5: Click OK to close all the windows.

🎯 Final Words

By disabling Internet Explorer's security setting or updating the Windows file association scheme, users should be able to execute shortcuts with command-line arguments again. If the issue persists, it may be worth exploring other troubleshooting steps or seeking further assistance from Microsoft support.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions