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
Now i need to run the update.bat file but i can't get it to work.Code:GetInstallpath = Registry.GetValue(HKEY_CURRENT_USER, "Software\\app", "InstallPath", false); File.Copy("AutoPlay\\Docs\\update.bat", GetInstallpath, true, true, false, true, nil);
Any help will be appreciated![]()

