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: http://www.sevenforums.com/general-d...omputer-2.html )
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

Win 7 Ultimate x64 desktop, Win 8.1.1 x64 laptop, Win 7 Home x64 netbook, Win 8.1.1 x64 tablet
 
 

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
Reply

 Problem running some .exe and .bat files




Thread Tools



Similar help and support threads for2: Problem running some .exe and .bat files
Thread Forum
Problem with running programs due to .dll files Software
Cmd Batch Files Running Without Finishing: Recursion problem?? General Discussion
.exe files running problem General Discussion
Trouble Running .jar Files Software
How about running .jar files on win 7 beta Software
problem: running srt,sub with mkv files Media Center
problem with running .reg files 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 05:42 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33