> From: Dave Laansma 
> Thank you all for your help, however this subroutine from 
> 2005 actually works perfectly:
> 
> SUBROUTINE ATGETDOCPATH(PATH)
....
> SCR=SCR:CHAR(25):'Private Declare Function SHGetFolderPath& Lib
> "shfolder.dll" Alias "SHGetFolderPathA" (ByVal hwnd&,ByVal
fldr&,ByVal
> tok&,ByVal dw&,ByVal Path$)'

Executing kernel functions is a bit extreme for something this
basic.  The script above will work for AccuTerm users on the
client, not on the server.  If that's what you want and you have
AccuTerm, great.  Otherwise someone will need to code an
executable wrapper around shfolder.dll.  Again - a bit extreme
given the multitude of simpler solutions.  For info on Windows
"special folders" (that's what they're called) and environment
variables, I recommend people Google around to sites that provide
Windows-specific info.  As the OP stated, this isn't a U2
question.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno




_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to