I have an equate
REGISTRY equ <HKLM\Software\Microsoft>
and I want to create a variable (string) that has the value of this equate.
The code should be something like this
RegPath db REGISTRY,0
and must expand to
RegPath db "HKLM\Software\Microsoft",0


How can I do this?
Posted on 2004-01-27 14:53:09 by greenant
Off top of my head:
REGISTRY equ <"HKLM\Software\Microsoft">

Alternatively you could try something like this (but I didn't test it):
REGISTRY equ <HKLM\Software\Microsoft>

RegPath db !"REGISTRY!",0
Posted on 2004-01-27 16:28:32 by QvasiModo
REGISTRY TEXTEQU <<">,<HKLM\Software\Microsoft>,<">>
Posted on 2004-01-27 16:30:27 by comrade
greenant,
Need I say more? Ratch



= '"HKLM\Software\Microsof REGISTRY EQU <'"HKLM\Software\Microsoft"'>
t"'
00000000 .DATA

00000000 22 48 4B 4C 4D RegPath db REGISTRY,0
5C 53 6F 66 74
77 61 72 65 5C
4D 69 63 72 6F
73 6F 66 74 22
00
00000000 .DATA?
Posted on 2004-01-27 19:02:01 by Ratch
Ratch Say more what? comrade
Posted on 2004-01-27 20:30:45 by comrade
comrade,
What more can be said? My solution works. Ratch
Posted on 2004-01-27 21:25:07 by Ratch
Thanks. Now it works
Posted on 2004-01-28 03:26:24 by greenant
Ratch,
stfu? yeah. comrade
Posted on 2004-01-28 16:47:28 by comrade