Old 12th November 2007, 04:43   #1
Join Date: Nov 2006
Posts: 51
Symbol to replace _ in registry

What symbol should I use to replace _?

I wish to change the variable, RDD.1.ABC_01 to run as Interactive User instead of Launching User.


WriteRegStr HKLM "SOFTWARE\Classes\APPID\$ReadRegistry" "RunAs" "Interactive User"

The program is not able to change it to interactive user but if I change the name, RDD.1.ABC_01 to RDD.1.ABC, it would be be to work.

So is there any symbol I could use to replace _?
Alstom is offline   Reply With Quote
Old 12th November 2007, 19:19   #2
[NSIS Dev, Mod]
kichik's Avatar
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Are you sure underscores aren't supported? It works fine for me with regedit.exe. If they don't, it's up to you what to use instead. I don't know of any convention for this. I'd use a dash, if I were you.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump