ShellExecute program with parameters - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: ShellExecute program with parameters (/showthread.php?tid=71631) ShellExecute program with parameters by tommy87xxx on 02-11-2007 at 05:33 PM
Hi, I don't speak english very well but I need an information. code: But my application must be execute with some parameters... I write this: code: but the function return error because search the 'C:\app.exe param1 param2' file that don't exist naturally. Do someone help me, please? RE: ShellExecute program with parameters by deAd on 02-11-2007 at 05:47 PM
You must escape the backslashes. code: RE: ShellExecute program with parameters by vikke on 02-11-2007 at 05:49 PM Use the ShellExecute API instead, like this: code: quote:You're showing the same code . I think you mean: code: RE: ShellExecute program with parameters by tommy87xxx on 02-11-2007 at 05:59 PM Good! Thanks vikke, your function works more good!!! RE: RE: ShellExecute program with parameters by deAd on 02-11-2007 at 06:02 PM
quote:No, I had the backslash escaped, but it might not have shown properly since MyBB seems to be messing with that RE: ShellExecute program with parameters by vikke on 02-11-2007 at 06:14 PM Yeah lol, it removed mine too, two // becomes one |