Getting System Folder Paths
Document ID: IR10060The information in this article applies to:
- AutoPlay Media Studio 5.0 Standard Edition
- AutoPlay Media Studio 5.0 Professional Edition
SUMMARY
This article describes how to retrieve the various system folder paths on the user's system.
DISCUSSION
AutoPlay Media Studio 5.0 includes an action to get the paths to various folders on your computer. To accomplish this, use the action Shell.GetFolder.
As an example, we will get the path to the user's desktop, and store it in a variable path_to_desktop. Insert the following code into an event in your program:
path_to_desktop = Shell.GetFolder(SHF_DESKTOP);
MORE INFORMATION
For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:
- Program Reference | Actions | Shell | Shell.GetFolder
KEYWORDS: AutoPlay Media Studio 5.0, System, Folder, Default, Path
Last reviewed: October 1, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.