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.

Newcomers DBPro Corner / how do u use the 'execute file' command?

Author
Message
WoW is WOW
21
Years of Service
User Offline
Joined: 21st Jun 2003
Location: Australia
Posted: 30th Sep 2004 22:37
I want to execute a file through a small opening program, the syntax is EXECUTE FILE Filename, Commandline, Directory.

What do you write in the commandline area, I just want to open a file, I have used the SET DIR command to locate the file and have the correct file name but I don't know what to put in the comandline area.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 30th Sep 2004 23:18
execute file command is to run an exe file, where you then could specify command line params like:

execute file "notepad.exe","myfile.txt","",1

that will run notepad and open the txt file myfile.txt, the optional wait flag at the end, when set to 1 will cause dbp to halt execution until notepad is closed.


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!

Login to post a reply

Server time is: 2024-09-23 01:16:41
Your offset time is: 2024-09-23 01:16:41