Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Feb : %USERPROFILE%

www.cryer.info
Managed Newsgroup Archive

%USERPROFILE%

Subject:%USERPROFILE%
Posted by:"Jeff" (jlabu..@signalink.com)
Date:Mon, 19 Feb 2007 13:12:25

Hi Everyone...

why doesn't the following work...

nd : TextFile;

   assignfile(nd,'%USERPROFILE%\desktop\masterin.csv');
   rewrite(nd);

Do you have to retrieve the value of the environment variable?

Jeff

Replies:

www.cryer.info
Managed Newsgroup Archive