Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005
    Posts
    5

    Huh? How to open the direct folder?

    Hello, anybody here?

    Do you know how to write the script code for opening the direct folder?
    Like in Windows XP system, when I click the folder icon twice, then I can read the files which are in the folder.
    Now I would like do the same process in AMS6.0 by using the button object.
    I ever try the functions "Folder.Getcurrent" and "Folder.Setcurrent", but it's not work. Do I miss any step or?

    Does anyone can make the example to me?

    Best Regards,

    Chuck Su

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    try like this, edit the drive and path only, leave the "/E", its a commanlline switch for explorer

    Code:
    File.Run("Explorer", "/E,c:\\path\\to\\folder", "", SW_SHOWNORMAL, false);
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Jun 2005
    Posts
    5
    Quote Originally Posted by RizlaUK View Post
    try like this, edit the drive and path only, leave the "/E", its a commanlline switch for explorer

    Code:
    File.Run("Explorer", "/E,c:\\path\\to\\folder", "", SW_SHOWNORMAL, false);

    It's cool. It's working now. Thank you very much.

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    no problem, glad to help
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. Simply how do I open a folder in a window
    By ishopper in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 05-15-2006, 06:49 AM
  2. cookies
    By goukilord10 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 05-20-2005, 04:08 PM
  3. Open folder on CD.
    By boroarke in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 09-06-2004, 04:59 PM
  4. How to open folder on CD
    By tkistre in forum AutoPlay Media Studio 4.0
    Replies: 7
    Last Post: 07-28-2004, 10:50 AM
  5. I want to open a folder when my setup exits
    By mczajka in forum Setup Factory 6.0
    Replies: 1
    Last Post: 07-09-2003, 02:49 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