Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 1 of 1
  1. #1
    SUF6NEWBIE Guest

    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 SUF6NEWBIE; 12-06-2004 at 11:21 AM.

Similar Threads

  1. HOWTO: Build and Burn Your AutoPlay Application
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 03:43 PM
  2. HOWTO: Create an Empty Folder
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-21-2002, 03:21 PM
  3. INFO: The Explore Button on the Distribution Folder Dialog
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-11-2002, 12:06 PM
  4. HOWTO: Locate Internet Explorer's Favorites Folder
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-11-2002, 09:12 AM
  5. INFO: Finding Shell Folders in the Registry
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts