Solved General sysntax guidelines for a batch file-- "my system"

loninappleton

New member
Member
VIP
Local time
2:40 PM
Messages
892
I have a precoded batch file to run in command mode. It gives commands to regedit but without my specific machine info the batch fail fails.

In the sample :

reg load HKLM\MY_SYSTEM [ rest of statement ]

and refers to this on three lines

MY_SYSTEM has to refer to the Win7 being used?
I tried the machine/administrator name which is MSI64 and the batch file still failed.
What then does MY_SYSTEM refer to? It is not at the top of the regedit key selections where there is LOCAL_MACHINE etc.

I have backed things up for safety and should set a new restore point as well.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 7 x64 Ultimate
CPU
AMD Athlon II x3 450
Motherboard
MSI 880GM
Memory
2 GB
Hard Drives
various
Browser
Firefox, Opera
I found my error now. I needed to check the computer name but using description.
This can be found in the search bar Start > [search bar] > computer name and the screen will give accurate info.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 7 x64 Ultimate
CPU
AMD Athlon II x3 450
Motherboard
MSI 880GM
Memory
2 GB
Hard Drives
various
Browser
Firefox, Opera
Back
Top