Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Problem running some .exe and .bat files

31 Mar 2012   #1

Windows 7 32 bit
Problem running some .exe and .bat files

I made some changes with the cmd to fix a password problem, but now I have a problem running some programs
Here's what i did:
cd /d d:\
CD Windows\system32
ren cmd.exe cmd.old
ren magnify.exe cmd.exe
ren cmd.old magnify.exe
(i did it to change my password, my previous thread: Can't log in to my computer )
The problem is that I can't run portal.bat- a launcher for "portal" and launcher.exe- a launcher for "star wars the old republic". After clicking on the icon it runs the magnifier.
So, I would like to know how to either rename the things back the way they used to be or how to run the games some other way. The problem doesn't really bother me any other way, just that I can't run the games.

Extra: When searching "cmd" it opens the cmd window, but in the title it says: "C:\Windows\System32\Magnify.exe"and where you type it says:"C:\Windows\system32>". When searching "magnify" it has the same title, but the place where you type says:"C:\Users\username>". And when searching "magnifier" The cmd box opens, the title is "Magnifier", and the line where you type says "C:\Users\username\Appdata\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\Accessibility>"

My System SpecsSystem Spec
31 Mar 2012   #2

Win 8 Release candidate 8400

Just do the opposite of what you did.

In the same directory

ren magnify.exe cmd.old
ren cmd.exe magnify.exe
ren cmd.old cmd.exe

And dont do it again.
My System SpecsSystem Spec
31 Mar 2012   #3

W10 Pro desktop, W10 laptop, W10 laptop, W10 Pro tablet (all 64-bit)

The renaming you did was just so you could reset your password, once you did that you should have followed the steps listed by zizag3143 to rename things back to the way they were. Any bat, cmd, exe or whatever that attempts to load the command interpreter will instead try to load magnify.
My System SpecsSystem Spec

01 Apr 2012   #4

Windows 7 32 bit

Got it, thanks for the help:)
My System SpecsSystem Spec

 Problem running some .exe and .bat files

Thread Tools

Similar help and support threads
Thread Forum
Problem with running programs due to .dll files
Today I've been starting up my pc, which has been treated a little roughly lately (overheat yesterday, and today the power randomly went off) and many of my programs are absolutely unable to start. I always get the following error: "The procedure entry point normaliz.IdnToUnicode could not be...
Cmd Batch Files Running Without Finishing: Recursion problem??
I have a very simple batch set in a file called sed.cmd. set input="D:\WebServerConfig\httpd\logs\old logs\webserver-access.log" set output="D:\WebServerConfig\httpd\logs\old logs\webserver-access-trimmed.log" set...
General Discussion
.exe files running problem
all my .exe files are getting opened with utorrent. tried to fix it with .reg file but that didn't help at all. now i cant download, cant install anything .unable to run any .exe programs.:cry: how can i fix this?
General Discussion
problem: running srt,sub with mkv files
hi i have hp laptop with windowd 7 in the beginning my MC wasn't able to play mkv files until i installed win7codecs pack and x64components pack. the problem is my subtitles don't show up with the video in MC. I can run my Subtitles with WMP and Real player but i can't run it with MC
Media Center
problem with running .reg files
When I run .reg files I choose to run them as administrator. I get an information saying that the information was succesfully added to the registry. However, when I open the registry I see that those keys weren't added at all. What's wrong?
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:50.
Twitter Facebook Google+