Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: General sysntax guidelines for a batch file-- "my system"

07 Mar 2016   #1

Windows 7 x64 Ultimate
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 System SpecsSystem Spec
11 Mar 2016   #2

Windows 7 x64 Ultimate

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 System SpecsSystem Spec

Thread Tools

Similar help and support threads
Thread Forum
Batch renaming files fails, error "the system cannot find file..."
Hi all, I'm trying to rename files with batch file "bulkrename.bat", that is generated by a short program made with Visual Foxpro 9.0. Here is the source code of Foxpro program: TV recordings renamed with XML metadata tag And here is generated "bulkrename.bat": ------------------- snip...
General Discussion
Defrag.exe won't run from a batch file. "Insufficient permission."
I want to defrag my C and E drives before Norton Ghost backs them up. Norton Ghost will run a batch file before the backup, so I made a simple one: C:\Windows\System32\Defrag.exe C: E: It won't run, however. I get an error message saying I have "insufficient permission" to run...
General Discussion
Need a Batch file or similar for "detect display" in display settings.
Hi, I need a batch or similar type file that will "detect display" from (Control Panel\All Control Panel Items\Display\Screen Resolution). HP dv6 use switchable graphics and they can be seriouly problematic to update. Anyway the only way i can use the latest driver is if i put up with aero...
Performance & Maintenance
question - batch file only works with "unofficial" directory name
Hello... I'm using a command line batch file to backup files from my W7 Pro x64 machine to an external USB HD. Basically, "xcopy c:\......\my documents\*.*" "external HD". I couldn't get this to work until I truncated the source directory to "documents" instead of "my documents" . While the batch...
General Discussion
"Splitting" 40 Gb user file system into ten 4 Gb "chunks"
Hi All, Is there an easy to "split" a 40 Gb user file area into ten 4 Gb "chunks", for the purpose of backing up onto ten DVDs? In other words, is there an easy way to copy a 40 Gb file area onto ten DVDs? Operating System is Windows 7 Enterprise (64 bit). Thank you for your time and...
Backup and Restore

Our Sites

Site Links

About Us

Find 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 16:49.
Twitter Facebook