%USERNAME% taken literally...

Discussion in 'Windows Desktop Systems' started by chaos945, Aug 10, 2004.

  1. chaos945

    chaos945 Moderator

    Messages:
    934
    My problem is programs are taking me literally, when I set my folders as follows or there abouts:

    "CacheFolder"="H:\\%USERNAME%\\NewsGroups\\cache\\"
    "DownloadFolder"="H:\\%USERNAME%\\NewsGroups\\"

    Instead of finding the current user name and creating a directory based on it, the program generates a new folder in 'H:\%USERNAME%'. Anyone with more knowledge of this type of programming know of a way to get around this?

    Screenshot
     
  2. chaos945

    chaos945 Moderator

    Messages:
    934