Fertum Posted January 29, 2019 Posted January 29, 2019 (edited) On the form delphi one button batton with: // ShellExecute (Form1.Handle, nil, 'C: \ Program Files \ Mozilla Firefox \ firefox.exe', nil, nil, SW_RESTORE); Mazila starts ShellExecute (Form1.Handle, nil, '1\file.exe', nil, nil, SW_RESTORE); file appears and disappears, in user ShellAPI stands Although file.exe works well. I try through the batch file, also flies. Something is missing. Edited January 29, 2019 by Fertum
Fertum Posted January 29, 2019 Author Posted January 29, 2019 The forum gave the answer: use the current directory, the problem disappeared. How are the folders, subdirectories?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now