CMD.exe will not work giving error message:

not a valid win32 application

Now none of the batch files will run. how should i fix this? Can i simply reinstall the 'cmd.exe' to fix this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pradeep DubeyConsultantCommented:
Seems your machine is virus infected. Please run a full scan and also malware scan.
Pradeep DubeyConsultantCommented:
Also open msconfig and check the startup items. Uncheck if you found something not related to your process.
Along with this check below registry key and delete unwanted startup items.

This will show you all startup items and make sure you have taken backup of registry before making any changes.

(1) Restore your computer to an earlier point in time before this problem occurred. The best way to do this is to boot up in safe mode with command prompt and type rstrui.exe to restore.

(2) As pradeep08_81 suggested, scan your computer with Malwarebytes Antimalware (free).
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

KonfigurationKingAuthor Commented:
Thanks for all the answers! During the troubleshooting process I just reinstalled the "CMD.EXE" and it resolved the issues it seems as though the binary got corupted somehow.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Great. You solved it the easy way. :-)
KonfigurationKingAuthor Commented:
I trouble shot the issue and it seemed the binary just needed to be replaced.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.