Solved

I cannot open .exe files.... receiving "The command line argument is not valid. Verify the switch you are using"

Posted on 2009-04-13
9
345 Views
Last Modified: 2013-12-08
I cannot open any executable files via shortcuts or directly. It all started when I tried to create a shortcut for outlook by pinning it in the start menu. Outlook works fine, but none of the program files will open. When I click on any program files I received the following error "Microsoft Office Outlook.....The command line argument is not valid. Verify the switch you are using".

I've tried running anti-virus, malware and spyware programs to no avail. The only way  can launc an .exe files through the command.com window, which is how  was able to run the anti-virus programs.

I've included an attachment of the log produced by HiJackThis, maybe it can help identify the problem. Please Help!!!
hijackthis.log
0
Comment
Question by:Banghouse
9 Comments
 
LVL 6

Expert Comment

by:vertsyeux
Comment Utility
I've seen this twice before; once was an outlook problem, the other time was a virus.. Check out this link

http://support.microsoft.com/kb/312346

0
 

Author Comment

by:Banghouse
Comment Utility
This method doesn't work as I tried it before. Although I'm getting an Outlook error it doesn't see to be affecting Outlook.
0
 
LVL 97

Expert Comment

by:war1
Comment Utility
Hello Banghouse,

You probably corrupted a registry.  If the problem started when you tried to create a shortcut, perform a system restore to date for you made the shortcut.

Hope this helps!
war1
0
 
LVL 22

Expert Comment

by:orangutang
Comment Utility
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Banghouse
Comment Utility
Hey war1,

Thanks for the help but for some reason  my system restore wasn't enabled. So I couldn't go back to undo whatever I did that is causing this problem.
0
 

Author Comment

by:Banghouse
Comment Utility
orangutan tried it doesn't work..... I don't understand why there isn't any solution for this probem.
HELP!!!!!!
0
 

Accepted Solution

by:
Banghouse earned 0 total points
Comment Utility
ok I finally found a fix to my problem. Anyone who is dealing with a similar problem with me please go to the following link http://en.kioskea.net/faq/sujet-1570-unable-to-run-executable-files-exe or you can follow this relatively easy fix:


This solution is valid for XP and 2000 versions.

    * Go to Control Panel and then Folder Options.
    * Select the File Type tab and then click New



    * Type in EXE file extension and click OK



    * The EXE extension is automatically selected, then click Restore
    * Close the dialog box

0
 
LVL 22

Expert Comment

by:orangutang
Comment Utility
0
 

Author Comment

by:Banghouse
Comment Utility
Orangutang,

I tried that method twice before and it simply didn't work. The method I used above worked perfectly and flawlessly. Thank God I didn't give up and format my hard drive!!!!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Use email signature images to promote corporate certifications and industry awards.
Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now