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?
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.
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..