Dmaxer
05-20-2005, 08:27 PM
I need to run a small dos program using script , I know I can use
The DOSCommand() function and the ShellLaunch() commmand
but Im not sure if I can add extra commands to the exe ,
what I mean is to use the program by hand I need to run it in a dos box and type
" M.exe test.mid test.txt "
running this would make the program "M.exe" read the file "temp.mid" and give me a new file "temp.txt "
Im not sure on how to add "test.mid test.txt" part at the end
I have tried this
DOSCommand "D:\Max7\scripts\midimax\\M.exe temp.mid temp.txt"
this seems to open a dos box but then it closes quite fast but there no file output :(
anyone know how to do this ?? can it be done
Thanks for reading
The DOSCommand() function and the ShellLaunch() commmand
but Im not sure if I can add extra commands to the exe ,
what I mean is to use the program by hand I need to run it in a dos box and type
" M.exe test.mid test.txt "
running this would make the program "M.exe" read the file "temp.mid" and give me a new file "temp.txt "
Im not sure on how to add "test.mid test.txt" part at the end
I have tried this
DOSCommand "D:\Max7\scripts\midimax\\M.exe temp.mid temp.txt"
this seems to open a dos box but then it closes quite fast but there no file output :(
anyone know how to do this ?? can it be done
Thanks for reading
