Chris,

Environment variables will work.. But, you could do the following:
code:
$programloc = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Common Programs")

IF 1 <> EXIST ($programloc+"\RIF Algemeen4\.")
MD $programloc+"\RIF Algemeen4"
ENDIF

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's