Ham
03-21-2007, 03:57 PM
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
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:yes
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
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:yes