frankzappa77
Member
I want to add the following registry keys using a batch file. I don't want the batch file to import the reg file, I want the batch file to add the keys itself.
This is the content of the reg file:
This is what I put in my batch file after reading the reg /? and reg add /? page in cmd.
But I get 4 errors and only one of them gets added successfully.
This is the content of the reg file:
Code:
[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]
"ScreenColors"=dword:0000000a
"FaceName"="Lucida Console"
"FontSize"=dword:000d0000
"FontFamily"=dword:00000036
"FontWeight"=dword:00000190
Code:
reg add HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe /v ScreenColors /t REG_DWORD /d 0000000a /f
reg add HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe /v FaceName /t REG_SZ /d Lucida Console /f
reg add HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe /v FontSize /t REG_DWORD /d 000d0000 /f
reg add HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe /v FontFamily /t REG_DWORD /d 00000036 /f
reg add HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe /v FontWeight /t REG_DWORD /d 00000190 /f
Last edited:
My Computer
System One
-
- Manufacturer/Model
- Acer Aspire 5630
- CPU
- Intel Core 2 Duo T5500 1.66GHz 65nm 667MHz FSB 2MB L2
- Motherboard
- Acer Grapevine Intel i945GM Chipset
- Memory
- 2x1GB DDR2 333MHz
- Graphics card(s)
- Intel Integrated GMA 950 256MB
- Sound Card
- Realtek High Definition Audio
- Monitor(s) Displays
- 15.4" WXGA Acer CrystalBrite LCD 16ms
- Screen Resolution
- 1280x800
- Hard Drives
- 200GB 5400rpm Toshiba MK2035GSS ATA-7, 250GB 7200rpm Maxtor External USB Hard Drive