finding Environement variable ProgramFiles

vasco
02-03-2003, 03:37 AM
Hello there
how can i find the %ProgramFiles% variable of a system and assign it to variable of my own.
i have done a serch but i haven't found exactly what i need or i haven't understood what i found.
thanks in advance.

shmoove
02-03-2003, 03:43 AM
Using the Environ$ method you can get any environment variable:

Environ$("ProgramFiles")

vasco
02-03-2003, 05:25 AM
it worked just fine
thanks shmoove

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum