Search found 4 matches
- 14 Jan 2018 05:23
- Forum: DOS Batch Forum
- Topic: Put a registry key in variable and split it up!
- Replies: 4
- Views: 4414
Re: Put a registry key in variable and split it up!
I still couldn't figure it out. It also says that the "reg" command is invalid
- 13 Jan 2018 04:20
- Forum: DOS Batch Forum
- Topic: Put a registry key in variable and split it up!
- Replies: 4
- Views: 4414
Re: Put a registry key in variable and split it up!
Is that code correct? for /F "skip=1 tokens=3 delims=." %%G IN ('reg query "HKEY_CLASSES_ROOT\PowerPoint.Application\CurVer" /ve') do set ver=%%G SET a="HKEY_CURRENT_USER\Software\Microsoft\Office\" SET b=".0\PowerPoint\AddIns\MyAddIn" SET path=%a%%%G%b% REG ADD %path% /v "AutoLoad" /t REG_DWORD /d ...
- 13 Jan 2018 04:12
- Forum: DOS Batch Forum
- Topic: Put a registry key in variable and split it up!
- Replies: 4
- Views: 4414
Re: Put a registry key in variable and split it up!
Thanks Squashman! But what is my variable name then? and how can i concatenate it with two other strings?
- 12 Jan 2018 11:38
- Forum: DOS Batch Forum
- Topic: Put a registry key in variable and split it up!
- Replies: 4
- Views: 4414
Put a registry key in variable and split it up!
Hello everyone, since I need to install a powerpoint add-in without prompting messages I need to create a batch file to realise it. First of all, my problem is that I don't know the commands to do what's in my mind. I hope you can help me out! Problem: I want to get the value of a registry key and p...