Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    172

    Little help getting an .bat file running

    Hello all

    I have several .bat files that needs to open.
    Since i dont know where the user will installing an file.exe i take the register.get function to find the location. That looks like this:

    on click
    Code:
    GetInstallpath = Registry.GetValue(HKEY_CURRENT_USER, "Software\\app", "InstallPath", false);
    
    File.Copy("AutoPlay\\Docs\\update.bat", GetInstallpath, true, true, false, true, nil);
    Now i need to run the update.bat file but i can't get it to work.

    Any help will be appreciated

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Code:
    File.Open(GetInstallpath.."\\update.bat");
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Apr 2005
    Posts
    172
    Many thanks bule that works

Similar Threads

  1. Best way to share custom buttons with the group?
    By mwreyf1 in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 04-28-2010, 01:29 PM
  2. Error 3038: Could not seek in compressed file
    By Rikard in forum Setup Factory 7.0
    Replies: 2
    Last Post: 05-25-2006, 11:55 AM
  3. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  4. Replies: 0
    Last Post: 08-17-2000, 02:29 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