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
loninappleton

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
loninappleton

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
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
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
System Image: "System cannot find the file specified (0x80070002)"
I have a Dell 2330 all-in-one running Win7 64 bit. I'm trying to do a system image back up to a USB3 external hard drive. The image will take up about 333gb and I have about twice that amount of space left on the 1 TB drive. I get the error message: System cannot find the file specified...
Backup and Restore
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
Default "Browse for file" location in web browser "choose file" box
Hi, how can I change this? Some background - this may not be the issue I need to solve at the end of the day: I believe the location is causing crashes, since I blew up lots of Library registry values (in an attempt to remove them from the OS), and I think it defaults to the library page....
Customization
"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 01:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App