Windows BBS The Place for Microsoft Windows Support! Windows, Support, Help Site

Go Back   Windows BBS > Operating Systems > Windows XP

Windows XP Post your Windows XP related questions here.

Register your FREE account to unlock additional features at WindowsBBS.com
Register
Welcome to WindowsBBS.com
Microsoft Windows Support

Mission Statement

WindowsBBS is an online community dedicated to easily accessible technical support for those using Microsoft operating systems and other Windows software.

Our goal is to become the leading resource for computer users that require assistance with their day-to-day computer usage, including full support for networking PC's, virus & malware removal, system upgrades and general support questions.


Discussion Forums
Operating Systems
Windows 7 Windows 7
Windows Vista Windows Vista
Windows XP Windows XP
Windows Server System Windows Server System
Windows 2000 Windows 2000
Windows 95/98/Me/NT Windows 95/98/Me/NT
Internet & Networking
Networking
Internet Explorer
Microsoft Mail
Firefox, Thunderbird
      & SeaMonkey

General Internet
Security
General Security
Malware and Virus
     Removal

Other
Other Software
Hardware
Test Posts
Community
Introductions
General Discussions
Comments
      & Suggestions

News @ WindowsBBS

Forum Sponsor
 Image

Closed Thread
 
LinkBack Thread Tools
Old 30th June 2002   #1
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


Question Renaming explorer.exe

Greetings....

I am seeking a manner in which to rename explorer.exe, or, write over the existing file.

I have a modified explorer.exe file in for which I would like to use in lieu of the existing explorer.exe file. It is not a major overhaul or change of pertinent strings (I've made two backups of original). Each time I attempt to rename it, XP almost instantly creates a duplicate of original. Each time I attempt a 'Save as...' or to write over explorer.exe, I get a message stating that the file cannot be created.

OK....so I'm assuming since it is a system file and it is in use it would not allow that, so I went to command line and tried:
Code:

    cd\windows
    ren explorer.exe 
    _explorer.exe
No problem, but then...
Code:

    ren explorer1.exe
    explorer.exe
yields:
Code:

    A duplicate file name exists, or the file does not exist
The only option I can think of is to adjust the registry value to run explorer1.exe instead of the explorer.exe, but I would rather just hack the resource rather than the registry.
??IDEAS??


Last edited by BruceKrymow; 30th June 2002 at 01:57.
BruceKrymow is offline  
Didn't find the information you thought to find?
Check out these Similar Threads
Old 30th June 2002   #2
Staff
 
Steve R Jones's Avatar
 
Profile:
Join Date: Dec 2001
Location: Dallas, TX
Posts: 8,223
Computer Experience:
Experienced
Steve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation Level


Have you tried
ren explorer.exe explorer.old

Then use the new one as explorer.exe

Steve R Jones is offline  
Old 30th June 2002   #3
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


Steve~

Quote:
Each time I attempt to rename it, XP almost instantly creates a duplicate of original.
Yes.

BruceKrymow is offline  
Old 30th June 2002   #4
SuperGeek
 
Profile:
Join Date: Jan 2002
Posts: 2,072
Computer Experience:
What experience?
brett Reputation Level


Did you try closing explorer.exe via the Task Manager prior to renaming?
brett is offline  
Old 30th June 2002   #5
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


Brett ~

Yes sir, I did. You can't rename any apps while they are running. It is in use while Windows is operating and is protected by Windows File Protection. That's why it "reappears" when you rename it.

I know there is a way around this.

I can do it in the registry, but that can cause unstability sometimes after running certain programs due to the inexplicable series of 'explorer' naming of file and Windows File Protection.


Last edited by BruceKrymow; 1st July 2002 at 04:35.
BruceKrymow is offline  
Old 1st July 2002   #6
SuperGeek
 
Profile:
Join Date: Jan 2002
Posts: 2,072
Computer Experience:
What experience?
brett Reputation Level


Use the Task Manager to close explorer.exe. Go to Run and start yourexplorer.exe. Now rename explorer.exe to explorerold.exe. Use the Task Manager again to close yourexplorer.exe and run explorerold.exe. Rename yourexplorer.exe to explorer.exe. Close explorerold.exe and run explorer.exe.

Job done

Hopefully ...


Last edited by brett; 1st July 2002 at 00:29.
brett is offline  
Old 1st July 2002   #7
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


Brett ~

What you provided sounded good, but it does not work. Any file other than 'explorer.exe' will preclude you from having a taskbar and control of the desktop.

Each time I attempt to rename another file to 'explorer.exe', it says it cannot be done as the file exists. As soon as the unit detects explorer.exe is not residing, it immediately creates another one. I tried 17 times to beat it to the draw, but it overwrites my renamed file.

What might you suggest at this point?

BruceKrymow is offline  
Old 1st July 2002   #8
WindowsBBS Team Member
 
JSS3rd's Avatar
 
Profile:
Join Date: Jun 2002
Location: Port Jefferson Station, NY
Posts: 1,837
Computer Experience:
??? Ohhh, yeahhh!!
JSS3rd Reputation LevelJSS3rd Reputation LevelJSS3rd Reputation LevelJSS3rd Reputation LevelJSS3rd Reputation LevelJSS3rd Reputation LevelJSS3rd Reputation LevelJSS3rd Reputation Level

My System

Bruce and Brett --

I don't think it can be done. I've tried the same thing with Notepad, using a Notepad replacement that worked perfectly in Win98. Even when there is no "Notepad.exe" file in existence on the computer, as soon as the replacement Notepad file is copied or moved to C:\Windows, I get a message stating that the file already exists, and do I want to copy over it. Even when I say "yes", the original Notepad.exe reappears.

I haven't tried a registry hack, because, in my case, I don't think it would work ... too many built-in readme files are set to call Notepad, and wouldn't open at all.

JSS3rd is offline  
Old 1st July 2002   #9
SuperGeek
 
Profile:
Join Date: Jan 2002
Posts: 2,072
Computer Experience:
What experience?
brett Reputation Level


Copy the following text (that which is between the lines) into NotePad, amend to suit your needs and save as start.bat

_________________________________________________

@echo off

ren explorer.exe explorerold.exe
ren yourexplorer.exe explorer.exe
_________________________________________________

Put both start.bat and yourexplorer.exe in C:\WINDOWS

Double click the start.bat file.

After you click the bat file you will be prompted to insert the xp cd - press the cancel button - followed by another prompt - press the yes button confirming that you want to keep the new file.

As I have not tested the above (and nor do I intend to), the advice is offered subject to the following disclaimer:-

Quote:
DISCLAIMER: This post does not reflect the thoughts or opinions of either myself, my company, my friends, my dog, parrot, canary or my cat; don't quote me on that; don't quote me on anything; all rights reserved; you may distribute this posting freely but you may not make a profit from it; taglines are subject to change without notice; taglines are slightly enlarged to show detail; any resemblance to actual persons, living or dead, is unintentional and purely coincidental; do not remove this tagline under penalty of law; hand wash only, tumble dry on low heat; do not bend, fold, mutilate, or spindle; your mileage may vary; no substitutions allowed; for a limited time only; this offer is void where prohibited, taxed, or otherwise restricted; caveat emptor; product is provided "as is" without any warranties; user assumes full responsibility; an equal opportunity tagline employer; no shoes, no shirt, no taglines; quantities are limited while supplies last; if any defects are discovered, do not attempt to fix them yourself, but return to an authorized service center; read at your own risk; parental advisory - explicit lyrics; text may contain explicit materials some readers may find objectionable, parental guidance is advised; keep away from sunlight; keep away from pets and small children; limit one-per-family please; no money down; no purchase necessary; you need not be present to win; some assembly required; batteries not included; no instructions are included; action figures sold separately; no preservatives added; slippery when wet; safety goggles may be required during use; sealed for your protection, do not use if safety seal is broken; call before you dig; not liable for damages arising from use or misuse; for external use only; if rash, irritation, redness, or swelling develops, discontinue use; use only with proper ventilation; avoid extreme temperatures and store in a cool dry place; keep away from open flames; avoid contact with eyes and skin and avoid inhaling fumes; do not puncture, incinerate, or store above 120 degrees Fahrenheit; do not place near a flammable or magnetic source; smoking these taglines could be hazardous to your health; the best safeguard, second only to abstinence, is the use of a condom; no salt, MSG, artificial colour or flavouring added; if ingested, do not induce vomiting, and if symptoms persist, consult a physician; allow four to six weeks for delivery; must be 18 to enter; disclaimer does not cover misuse, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricane and other Acts of God, neglect, damage from improper installation, incorrect line voltage, improper or unauthorized repair, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in the tagline list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, mud slides, forest fire, or projectile (which can include, but not be limited to, arrows, bullets, shot, BB's, shrapnel, lasers, napalm, gerbils, torpedoes, or emissions of X-rays, Alpha, Beta and Gamma rays, knives, hamsters, stones, etc.); other restrictions may apply.
Good luck


Last edited by brett; 1st July 2002 at 22:49.
brett is offline  
Old 2nd July 2002   #10
Inactive
 
Profile:
Join Date: Feb 2002
Location: Edmonton, Alberta, Canada
Posts: 2,989
Computer Experience:
Depends on coffee input.
Daizy Reputation Level



Brett? You need constant adult supervision.

Daizy is offline  
Old 2nd July 2002   #11
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


Brett ~

That was funny as hell!

Ok...I am willing to try anything as I don't mind crashing when I'm driving, but before I do, I would like for you to expound a bit perhaps on the mechanics behind what you have mapped out here, and, if you don't mind, I am curious as to the reference source.

Cheers,

BruceKrymow is offline  
Old 2nd July 2002   #12
SuperGeek
 
Profile:
Join Date: Jan 2002
Posts: 2,072
Computer Experience:
What experience?
brett Reputation Level


The mechanics? Hopefully, pulling the renaming of the files into one (almost instantaneous) process via the use of the .bat file will get the job done prior to Windows creating another instance of explorer.exe (and will also defeat the "in-use" problem too). Maybe ...

The source? It's pieced together from the disclaimers used on a wide range of products and ... oh ... *that* source ... there isn't one! Other, that is, than my having a (very) vague recollection of having read a similar suggestion somewhere at sometime in the past!

brett is offline  
Old 2nd July 2002   #13
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


Brett~

Before I try hacking the **** out of my resource files, I am gonna give an app I found a try plus a few of the ones mentioned above that do just that as you mentioned.

I will report back.

Why is [img] code turned off?

What font is your name in, Brett?

BruceKrymow is offline  
Old 2nd July 2002   #14
SuperGeek
 
Profile:
Join Date: Jan 2002
Posts: 2,072
Computer Experience:
What experience?
brett Reputation Level


Lucida Handwriting. Dunno why it's switched off!

If the .bat file doesn't work you may wish to try moving this onto a relevant newsgroup - maybe microsoft.public.windowsxp

brett is offline  
Old 2nd July 2002   #15
Geek Member
 
Profile:
Join Date: Mar 2002
Location: Phoenix, AZ USA
Posts: 549
Computer Experience:
Whatever...
BruceKrymow Reputation Level


brett ~

This is among a few options in which I am exploring. I will let you know what happens.

Thanx, Brett!

BruceKrymow is offline  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 10:18.






Advertisements do not imply our endorsement of the product or service advertised.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2002 - 2009 WindowsBBS.com. All rights reserved.
Terms of Use, Legal Information & Privacy Policy
[]