@SHFolder for 4NT8

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
While the @SHFolder Variable Function is present in TCC v15, it is not present in 4NT8, and I just happen to need to use that Variable Function in 4NT8 on my Windows 2000 system.

I did a search of the forums, and one of the threads I found was http://jpsoft.com/forums/threads/shfolder-questions.4343/

My solution was to use the @WINAPI Variable Function, which is available in 4NT8, to create the @SHFolder Variable Function as follows;

Now, when I want to know the location of "My Documents", I can execute

echo %@shfolder[5]
which is the same Variable Function that I would use in TCC v15.