Jooel,

it did the job....

code:
	$runie = "run '"+readvalue("HKEY_CLASSES_ROOT\htmlfile\shell\open\command","")+" "

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...