Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / shell execute

Author
Message
Tim Ballisto
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 8th Mar 2004 00:54
is it possible to shell execute a file stored inside a final exe?
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 8th Mar 2004 16:32
i think you use the execute command... , i'm not sure.

Make games!
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 8th Mar 2004 17:32
Yeah i remenbered.
EXECUTE FILE Filename, CommandLine, Directory
Where Filename is the name of the file you want to execute,
CommandLine is the data you want to pass through the file,
And Directory is where the file is located (Optional)

And this is the second syntax:
EXECUTE FILE Filename, String$, Path$, WaitForTerminationFlag
Where Filename is the name of the file you want to execute,
String$ is the data you want to pass through the file,
Path$ is where the file is located,
And WaitForTerminationFlag indicated whether you want to wait for the file to terminate before your DB program continues.



Make games!
Tim Ballisto
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 8th Mar 2004 22:51
no, i mean when you compile the media into a final exe, can you use execute file to execute files stored in the final?
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 9th Mar 2004 09:17
no, you would access the files as if they exist in the same directory as the final project. Executing another exe from within the final exe? I don't see how you could compile another program into your final project.

"eureka" - Archimedes
Tim Ballisto
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 10th Mar 2004 02:42
actually, i was using a .wmv for a cutcene, so it would open up mwp and play it

Login to post a reply

Server time is: 2025-05-23 08:46:13
Your offset time is: 2025-05-23 08:46:13