Shell Folder 'constants' - santas little helper

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • SUF6NEWBIE

    Shell Folder 'constants' - santas little helper

    Cooked up this while action to cycle through and return the
    'shell folder constants' for current OS..gives you some more to play with
    when using the Shell.GetFolder action

    Code:
    x = 0; --start
    while x <= 60 do
    shellPath = Shell.GetFolder(x);
    	if (shellPath ~= "") then
    	TextFile.WriteFromString(_TempFolder.."\\ShellLocs.txt", "\r\nSHFnum: "..x.." -Shell folder: "..shellPath, true);
    	end
    x = x +1;
    end
    When done just check the temp folder to retrieve the discovered data
    could be handy...some OSs may return additional folders ..so be carefull
    if end up using in an app
    Last edited by Guest; 12-06-2004, 11:21 AM.
Working...
X