Go Back   Sports Car Forum - MotorWorld.net > Hobbies and Leisure Time > Computers, Consoles, Gadgets And Gizmos



Reply
 
Thread Tools Display Modes
Old 08-16-2004, 04:50 PM   #1
abbor
Regular User
 
Join Date: May 2004
Location: Trondheim, Norway
Posts: 1,068
Default Need help with RegEdit..

I have one disk where I put windows on, and one disk I put all other shit on..
I know how to use regedit to change the default installation folder from "C:\Program Files" to "E:\Program Files," but what I want is a .reg file which does this automatically..
What do I have to do?
abbor is offline   Reply With Quote
Old 08-16-2004, 11:11 PM   #2
RC45
Regular User
 
Join Date: Jun 2003
Location: Texas
Posts: 15,413
Default

Learn how to do it yourself..

http://www.windowsnetworking.com/kba....REGfiles.html

The syntax of a .REG file:

REGEDIT4

[HKEY_HIVE\KEY\KEY] @="keyvalue"



In the examples I give, I will always use the following form:

REGEDIT4
BLANK LINE GOES HERE
[HKEY_HIVE\KEY\KEY] @="keyvalue"
BLANK LINE GOES HERE


Replace the BLANK LINE GOES HERE with a blank line. The last character in a .REG file needs to be a carrage control. Just insert a blank line and press enter and then save the .REG file. Other examples:

REGEDIT4
BLANK LINE GOES HERE
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}] @="Trash"
BLANK LINE GOES HERE


REGEDIT4
BLANK LINE GOES HERE
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]
"NoStartBanner"="1"
BLANK LINE GOES HERE

On/Off keys are enabled with "1". Such keys are disabled by "0". Others are enabled with "yes", disabled with "no". Be careful, some keys are worded negatively and some positively - that is, "yes" or '1" can mean ON or it can mean OFF. Some keys have sliding numeric scale values 0-xxxx. Others have string values. No one rule.

RC45 is offline   Reply With Quote
Old 08-17-2004, 10:34 AM   #3
abbor
Regular User
 
Join Date: May 2004
Location: Trondheim, Norway
Posts: 1,068
Default

Thanks... That's all I needed..
But one question:
When I write the dirs with like this: E:\Program files, it doesn't work, but when I write it like this: E:\\Program Files it works..

Why?
abbor is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump