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


  1. Posts : 892
    Windows 7 x64 Ultimate
       #1

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


    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


  2. Posts : 892
    Windows 7 x64 Ultimate
    Thread Starter
       #2

    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


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:32.
Find Us