Passing Values to other programs

Blitz3D Forums/Blitz3D Programming/Passing Values to other programs

austin(Posted 2010) [#1]
So i know you can accept values through commandline()
but how do you pass them with execfile()?


Charrua(Posted 2010) [#2]
hi try this:

;readme.txt must be on the application path
ExecFile "readme.txt"	;loads the editor associated wiht .txt files
WaitKey

ExecFile "notepad.exe"	;loads notepad alone

Print "fin notepad "
WaitKey


ExecFile "notepad.exe readme.txt"	;load notepad with "readme.txt" as command line
WaitKey



Juan


austin(Posted 2010) [#3]
never mind, i figured out what i was doing wrong
i had the chr(34) things over ALL of ot instead of individual names