Page 1 of 1

ShellExecute Commandline

Posted: Mon Jul 28, 2014 11:36 am
by JB_AU
How do i use ShellExecute on console applications?
capture.png
capture.png (27.05 KiB) Viewed 11907 times

This is what i have, won't function in fs :(

regQ.fsm
(26.34 KiB) Downloaded 946 times

Re: ShellExecute Commandline

Posted: Tue Jul 29, 2014 6:03 pm
by JB_AU
Solved: For future Reference
Path: cmd.exe (no path needed, part of OS)
Argument: /c reg.exe argument1 argument2 (/c command, & again no path needed)

Re: ShellExecute Commandline

Posted: Wed Jul 30, 2014 12:25 pm
by jjs
Thanks!
But.... something like this was allready mentioned by ofcourse Trog, but it is always good as a reminder.

Anyway i also use this kind in a program to call upon 2 separate exe proggies. Works a treat !

Re: ShellExecute Commandline

Posted: Wed Jul 30, 2014 3:46 pm
by JB_AU
I use the search & never find anything :(

Re: ShellExecute Commandline

Posted: Wed Jul 30, 2014 5:17 pm
by tester
Searching is not working correctly on this forum. I always do through google:

keywords site:dsprobotics.com/support

Re: ShellExecute Commandline

Posted: Fri Aug 01, 2014 2:02 am
by JB_AU
You the Man!