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: .bat Help.. Is these commands safe?

03 Jun 2012   #1

Windows 7 Enterprise 64 Bit
.bat Help.. Is these commands safe?

I just got installed the Luna theme to windows..

But at a bat file it's trying to do that:
ren %windir%\explorer.exe explorer.exe.bak
move /y "Resources\x86\explorer.exe" %windir%
taskkill /F /IM explorer.exe
start %windir%\explorer.exe

Is that safe to replace the explorer.exe with a diffrent explorer.exe?


My System SpecsSystem Spec
03 Jun 2012   #2
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1

The bat file command will rename explorer.exe to explorer.exe.bak, copy the new explorer.exe, kill the explorer.exe process, and start a new one. Generally speaking, it is safe to replace explorer.exe if you do it correctly. Not knowing the source of the explorer.exe you want to use, I can't speak to that one specifically. I can suggest you scan the new explorer.exe at Virus Total. Make a system backup in case it doesn't go well, at the very least make a System Restore point before you proceed.

A Guy
My System SpecsSystem Spec

 .bat Help.. Is these commands safe?

Thread Tools

Similar help and support threads
Thread Forum
How to do global commands
I recently installed a screesaver that, after 15 minutes of inactivity, The screensaver displays a warning and 60 seconds later issues a log off command. Have seven standard user accounts and had to install the screensaver in each of them. Can I do this globally so that I only have to do it once. ...
General Discussion
Help Automatating CMD Commands
I need help making a CMD script that will... Open a certain directory clear the screen run a command and then it must stay open how would i do this?
General Discussion
Definitions of Commands
I often wondered what difference , if any , there is between the following commands: FORMAT WIPE DELETE with reference to hard drives.
General Discussion
Bat commands..
Okay im trying to make a mini-fool for my friend :D And i want to my friend donot see the bat file Is this the code to he cant see it? attrib +h %0 Thanks. - kuchiyo
General Discussion
Windows Run Commands
I certainly hope someone here can help me. It used to be that the commands I typed in the RUN window where there when I returned. Not so now, the window's completely blank, and I have to retype where I want to go or open every time. :cry: What must I do to make the programs hold? Duchess
General Discussion
Commands in Windows 7
Commands in Windows 7 If you like to work with Command Prompt commands here some new or Modified commands uses in Windows 7. For a more detailed explanation of all commands in Windows below, see: Command-Line Reference Windows Command Reference

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 09:43.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App