>WHat is the sys() function to returnt he window system directory ( where all the default dll, ocx, and etc are stored)?
>
>Thank in godzillion :)
Gan,
There isn't one. While GETENV('WINDIR') returns the Windows directory, there isn't an environment variable for the system directory. Use GetSystemDirectory() in the Win32 API. You'll find documentation in the API section here.
George
Ubi caritas et amor, deus ibi est