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
Thank you for your patience 'though
Greetings,
zugort
Search found 2 matches
- 22 Feb 2011 07:47
- Forum: DOS Batch Forum
- Topic: Findstr with registry
- Replies: 5
- Views: 8104
- 22 Feb 2011 06:10
- Forum: DOS Batch Forum
- Topic: Findstr with registry
- Replies: 5
- Views: 8104
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 ...