|
Answer» Hi, I have been trying to crack editing registry entries via a command prompt. The problem I have is that the key has spaces in its NAME eg the "Recent File List" key in Wordpad. If I try and use the the command "reg query HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad /s" I get a list of the subkeys and values which includes the subkey "Recent File List". If I then ADD the subkey name to the end of the command to get just the value for this subkey, I get "Error: Invalid command-line parameters". Ive tried using / between the words so that it looks like this "Recent/ /File/ /List" and also enclosing the subkey name in " " NONE of which works.
Any ideas anyone???
TIA for any help It should be somthing like:
reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad" /V "Recent File List"
If you want to add a value, then use reg addTried it and it comes back with "Error: The system was unable to find the SPECIFIED registry key or value"This should work:
Code: [Select]reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad\Recent File List" /s
Did you try reg /query /?.
That worked! I can now incorporate it into my Winbatch programs!! (www.windowware.com) Thanks Sidewinder and those that tried to help.Oops!, wrong link for those interested. This is the link to Winbatch:- "www.winbatch.com" its like dos batch programming only for Windows.
|