Search found 2 matches

by zugort
22 Feb 2011 07:47
Forum: DOS Batch Forum
Topic: Findstr with registry
Replies: 5
Views: 8205

Re: Findstr with registry

I did it:

for /F "tokens=3" %%A in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PHPScript\Shell\Open\Command"') do set var1=%%G

I almost had it like this, but I used delims, which was obviously wrong :roll:
Thank you for your patience 'though ;-)

Greetings,
zugort
by zugort
22 Feb 2011 06:10
Forum: DOS Batch Forum
Topic: Findstr with registry
Replies: 5
Views: 8205

Findstr with registry

Hey guys, At first I have to say I'm new to Batch programming. I have a question: Is it possible to get from the Standard registry entry at "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PHPScript\Shell\Open\Command", which looks like "C:\xampp\php\php.exe -f "%1" -- %*" to only ...