PDA

View Full Version : Getting System Folder Paths


Desmond
10-01-2003, 03:39 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Getting System Folder Paths</h3> <b>Document ID: IR10060</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to retrieve the various system folder paths on the user's system.</p> <h3>DISCUSSION</h3> <p>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.<br> <br> 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:<br> <br> <code>path_to_desktop = Shell.GetFolder(SHF_DESKTOP);<br></code> </p> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | Shell | Shell.GetFolder</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, System, Folder, Default, Path </p> <hr> <FONT SIZE=1> Last reviewed: October 1, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>