Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Josué Alba Guest

    Current Folder on SFX exe's

    Hello, once I saw a example of a code made by Brett that returns the source folder from the Sfx exe folder and not from the temp folder where it's the autorun executing. Now I need something that does that 'cos I miss the brett's code.

    Thanx for the help.

  2. #2
    SUF6NEWBIE Guest
    This may help a little--returns the folder path to the SFX executable

    -- Program run path
    Apptarget_CM = String.Mid(_CommandLineArgs[1], 11, -1);
    AppPath_T = String.SplitPath(Apptarget_CM);
    _CompressedSourceDrive = AppPath_T.Drive;
    _CompressedSourceFolder = AppPath_T.Drive..AppPath_T.Folder;



    --new global variable added in v5010 Service release

    -- _SourceFilename

    --Notes: this only works if No additional command line arguements have been passed to the APP at runtime.
    (as the 'Apptarget_CM' above targets the first in the returned table index [1])

    if passing additional commandline arguements to the APP, your arguements
    are Before the actual App Path index..so watch out for this.
    Last edited by SUF6NEWBIE; 12-04-2004 at 09:39 PM.

  3. #3
    Josué Alba Guest
    Thanks I'll try and give you an advise how I managed this. Thx

Similar Threads

  1. Set current folder with Listbox
    By mrdude in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 06-19-2004, 07:00 AM
  2. 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
  3. 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
  4. 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
  5. 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

Posting Permissions

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