iambattalion
7th August 2002 16:37 UTC
Quote Problem
I am trying to insert a registry entry that requires quotes and I am not able to get it to work.
here is an example of the registry string I am trying to add
WriteRegStr HKCR "RDP.File\shell\Connect\command\" "" "mstsc.exe "%l""
whenever I add the "%1" it doesn't work... but if I have %1 it will create the installer but the registry entry doesn't work.
any help would be great
kichik
7th August 2002 16:39 UTC
Just use a single quote to quote the whole string... Please read the docs first next time.
iambattalion
8th August 2002 00:11 UTC
I wish it was that easy...
I used single quotes, it shows up correctly in the registry but it doesn't work correctly. It has to be double quotes
veekee
8th August 2002 00:24 UTC
so use :
WriteRegStr HKCR 'RDP.File\shell\Connect\command\' '' 'mstsc.exe "%l"' ;) :D
iambattalion
8th August 2002 00:31 UTC
That Worked Thanks!!!