Computing.Net > Forums > Windows XP > Problem with regedit

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Problem with regedit

Reply to Message Icon

Name: Dean
Date: July 1, 2003 at 19:18:21 Pacific
OS: Windows XP Professional
CPU/Ram: P4 2.26GHz/512 RDRAM
Comment:

Normally when I type regedit in Start/Run the Registry Editor opens, but for some strange reason that stopped working today. Now I have to type regedit.exe to get it to open. If I just type regedit, I get a message saying "Windows cannot open this file" "To open this file, Windows needs to know what program created it. Windows can go online to look it up automatically, or you could manually select from a list of programs on your computer" etc. Can someone please help me fix this problem? I want the Registry Editor to open like it used to (by just typing regedit instead of regedit.exe).




Sponsored Link
Ads by Google

Response Number 1
Name: BelgainDSoul
Date: July 2, 2003 at 01:36:58 Pacific
Reply:

Check your Shell-extentions.

Cut--------*.reg-----

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\regedit]
@="Registration Entries"

[HKEY_CLASSES_ROOT\regedit\shell]

[HKEY_CLASSES_ROOT\regedit\shell\open]

[HKEY_CLASSES_ROOT\regedit\shell\open\command]
@="regedit.exe %1"

-------End-------


If you manually edit your registry the key is a default REG_SZ with value "regedit.exe %1" (leave the "" out)
Hope this solves it.


0

Response Number 2
Name: Dean
Date: July 2, 2003 at 02:24:15 Pacific
Reply:

Thanks for the help... but the "" weren't there, any other suggestions?


0

Response Number 3
Name: Dean
Date: July 2, 2003 at 02:49:14 Pacific
Reply:

Forget about my last post, lol. I'm half asleep, and thought you were talking about something else.

The shell extensions are fine, any other suggestions?


0

Response Number 4
Name: BelgainDSoul
Date: July 2, 2003 at 06:37:28 Pacific
Reply:

I wouldn't know how one should do this the 'normal way'.

So I just tried to find a way you could alias any program you would like.
Here it goes:


'openalias2' is the alias that will start your proggry in start->run, ofcourse

You might need to change pathnames, and change the openmyalias2 alias.

Cut-----openmyalias2.reg-----

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\openmyalias2\Shell\Open\Command]
@="\"F:\\windows\\ServicePackFiles\\i386\\regedit\" %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\openmyalias2\Shell\Open\Command]
@="\"F:\\windows\\ServicePackFiles\\i386\\regedit\" %1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\openmyalias2.exe]
@="F:\\windows\\ServicePackFiles\\i386\\regedit.exe"
"Path"="F:\\windows\\ServicePackFiles\\i386\\"

----------END-------------

This works on my XP box and will run regedit by typing 'openmyalias2'

Have fun


0

Response Number 5
Name: Dean
Date: July 2, 2003 at 08:09:14 Pacific
Reply:

Thanks for your help, but I finally fixed the problem! I did a Search for regedit on my system, and found numerous copies of regedit.exe (all having 0 bytes). I deleted these files, and now the Registry Editor opens when I type regedit in the Start/Run box :)


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Problem with regedit

Problems with Event Viewer Errors www.computing.net/answers/windows-xp/problems-with-event-viewer-errors/172825.html

Severe problems with XP www.computing.net/answers/windows-xp/severe-problems-with-xp/167648.html

problem with all programs in start menu www.computing.net/answers/windows-xp/problem-with-all-programs-in-start-menu/33622.html