ShellExecute Commandline

For general discussion related FlowStone
Post Reply
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

ShellExecute Commandline

Post by JB_AU »

How do i use ShellExecute on console applications?
capture.png
capture.png (27.05 KiB) Viewed 11911 times

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

regQ.fsm
(26.34 KiB) Downloaded 946 times
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: ShellExecute Commandline

Post 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)
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: ShellExecute Commandline

Post 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 !
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: ShellExecute Commandline

Post by JB_AU »

I use the search & never find anything :(
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: ShellExecute Commandline

Post by tester »

Searching is not working correctly on this forum. I always do through google:

keywords site:dsprobotics.com/support
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: ShellExecute Commandline

Post by JB_AU »

You the Man!
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
Post Reply