April 29, 2024, 07:40:05 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


New GetFolderPath Command

Started by billhsln, June 26, 2008, 09:23:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

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
When all else fails, get a bigger hammer.

Ionic Wind Support Team

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.
Ionic Wind Support Team

billhsln

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
When all else fails, get a bigger hammer.