Arnold Magno
1st June 2005, 03:57
Hi,

I created a session in baan5c that reads an ascii file stored in user's home directory. Does anybody knows how to get the user's home directory in program script? I tried to explore the getenv$() function but unfortunately i can't find the right environment variable. Need some help here...

Thanks,
Arnold

NPRao
1st June 2005, 04:06
Try - getenv$("HOME")

Example -
file.path = getenv$("HOME") & "/" & filename

Arnold Magno
1st June 2005, 04:19
Hi NPRao,

Thanks. It works!!!

Regards,
Arnold