I'm making a launcher program, I'm almost done, but I've run into a problem,
I can't make my AMS program run a .exe file in the same directory as the project executable
EXAMPLE:
project.exe is in C:\Program (C:\Program\project.exe)
I want my project to run start.exe which is also in C:\Program (C:\Program\start.exe)
I can't set it toBecause I want to give my project executable to a friend, and I don't know where his "Program" folder will be...Code:result = File.Run("C:\\Program\\start.exe", "", _SourceFolder, SW_SHOWNORMAL, false);

Reply With Quote
