IonicWind Software

IWBasic => The Roundtable => Topic started by: billhsln on June 26, 2008, 09:23:16 AM

Title: New GetFolderPath Command
Post by: billhsln on June 26, 2008, 09:23:16 AM
Testing New command, are there any additional paths that it will display.

Also, it seems that some display nothing, at least on XP.

string r
openconsole
print "DESKTOP             ",GetFolderPath(@CSIDL_DESKTOP)
print "PROGRAMS            ",GetFolderPath(@CSIDL_PROGRAMS)
print "CONTROLS            ",GetFolderPath(@CSIDL_CONTROLS)
print "PRINTERS            ",GetFolderPath(@CSIDL_PRINTERS)
print "PERSONAL            ",GetFolderPath(@CSIDL_PERSONAL)
print "FAVORITES           ",GetFolderPath(@CSIDL_FAVORITES)
print "STARTUP             ",GetFolderPath(@CSIDL_STARTUP)
print "RECENT              ",GetFolderPath(@CSIDL_RECENT)
print "SENDTO              ",GetFolderPath(@CSIDL_SENDTO)
print "BITBUCKET           ",GetFolderPath(@CSIDL_BITBUCKET)
print "STARTMENU           ",GetFolderPath(@CSIDL_STARTMENU)
print "DESKTOPDIRECTORY    ",GetFolderPath(@CSIDL_DESKTOPDIRECTORY)
print "DRIVES              ",GetFolderPath(@CSIDL_DRIVES)
print "NETWORK             ",GetFolderPath(@CSIDL_NETWORK)
print "NETHOOD             ",GetFolderPath(@CSIDL_NETHOOD)
print "FONTS               ",GetFolderPath(@CSIDL_FONTS)
print "TEMPLATES           ",GetFolderPath(@CSIDL_TEMPLATES)
print "CMNSTARTMENU        ",GetFolderPath(@CSIDL_COMMON_STARTMENU)
print "CMNPROGRAMS         ",GetFolderPath(@CSIDL_COMMON_PROGRAMS)
print "CMNSTARTUP          ",GetFolderPath(@CSIDL_COMMON_STARTUP)
print "CMNDESKTOPDIRECTORY ",GetFolderPath(@CSIDL_COMMON_DESKTOPDIRECTORY)
print "APPDATA             ",GetFolderPath(@CSIDL_APPDATA)
print "PRINTHOOD           ",GetFolderPath(@CSIDL_PRINTHOOD)
input r
end
Title: Re: New GetFolderPath Command
Post by: Ionic Wind Support Team on June 27, 2008, 12:30:25 AM
Were you asking a question?

http://msdn.microsoft.com/en-us/library/bb762494(VS.85).aspx

Some items will not return anything depending on the OS you are using.

Paul.
Title: Re: New GetFolderPath Command
Post by: billhsln on June 27, 2008, 03:15:08 AM
Yes, I wanted to find out what all the possible available values were.  The MSDN Link gives me exactly what I was needing.

Thanks, Paul, will add all of them into my test program.

Also, thought some one else might be helped with some quick examples of what the subroutine does.

Thanks again,
Bill