New
#1
How to use the reg command line statement
There is a small batch file I would like to execute. I have cut and pasted it from another source.
The batch file failed repeatedly.
Then I attempted to run the statements individually at the command prompt.
Things still failed.
Example:
reg load HKLM\MY_SYSTEM followed by a command in " " marks needs my machine name which is msi64-PC. The machine description is msi64.
But the statement bombs and says pretty much it can't find any part of the statement that is correct.
I can copy out the exact error if needed. But the problem seems to be I'm not pointing at the right thing in the first place or there is a directory conflict.
The sequence is
reg load MY_SYSTEM followed by " a command statement to "0Windows\System32\config\system" in quotes
reg delete followed by what to delete
reg unload which is MY_SYSTEM (to get out of the command)
All of these fail.
I should be able to run the load command at least with no argument from Win7
that statement from the sample looks like this:
reg load HKLM\MY_SYSTEM "%~dp0 (zero)Windows\System32\config\system"
I can add the error at a follow up