para 0 Posted January 15, 2005 I want my program to start internet explorer with my specified page already inputed.The problem I run into is that some of the sites contain "=" signs and that is causing a problem.Run("explorer http://www.mysite/com/1142312=click/")That = sign before click makes it think that I want to run directory "click" and causes it not to work.I am 100% sure the = sign is what is messing it up, I have done alot of testing.This is beating my head in ... is this a bug?What can I do to fix this?Thanks a ton! -Para Share this post Link to post Share on other sites
Insolence 2 Posted January 15, 2005 Maybe, Run("explorer 'http://www.mysite.com/1142312=click/'") ? "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Share this post Link to post Share on other sites
para 0 Posted January 15, 2005 Naw same error just this time the site is in quotes. It talks about "Invalid Directory..." I tried what you mentioned, thanks for tryin to help out. Anyone else got any ideas? -para Share this post Link to post Share on other sites
DirtyBanditos 0 Posted January 15, 2005 Naw same error just this time the site is in quotes. It talks about "Invalid Directory..."I tried what you mentioned, thanks for tryin to help out. Anyone else got any ideas?-para<{POST_SNAPBACK}>Hell test this dos comand pls i hope that help you out $rc = _RunDOS("start http://www.DirtyBanditos.de.vu/") Share this post Link to post Share on other sites
phillip123adams 0 Posted January 15, 2005 Run("explorer http://www.mysite/com/1142312=click/")Try: IExplorer.exe:Run('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.autoitscript.com/forum/index.php?showtopic=7599#entry53895"') Phillip Share this post Link to post Share on other sites
ezzetabi 3 Posted January 15, 2005 (edited) Giving the job to Start program $site = 'http://www.hiddensoft.com' Run(@comspec & ' /c start ' & $Site,'',@sw_hide) Calling the dll directly. _ShellExecuteDllCall('http://www.hiddensoft.com', '', '', '') Func _ShellExecuteDllCall($sCmd, $sVerb, $sArg, $sFolder) Local $aRet $aRet = DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", $sVerb, _ "string", $sCmd, "string", $sArg, "string", $sFolder, "long", @SW_SHOWNORMAL) Return $aRet[0] EndFunc ;==>_ShellExecuteDllCall Edited January 15, 2005 by ezzetabi Share this post Link to post Share on other sites
DirtyBanditos 0 Posted January 15, 2005 (edited) Giving the job to Start program$site = 'http://www.hiddensoft.com' Run(@comspec & ' /c start ' & $Site,'',@sw_hide)Calling the dll directly._ShellExecuteDllCall('http://www.hiddensoft.com', '', '', '') Func _ShellExecuteDllCall($sCmd, $sVerb, $sArg, $sFolder) Local $aRet $aRet = DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", $sVerb, _ "string", $sCmd, "string", $sArg, "string", $sFolder, "long", @SW_SHOWNORMAL) Return $aRet[0] EndFunc ;==>_ShellExecuteDllCall<{POST_SNAPBACK}>Hello ezzetabi,thx for your dll call exampel i a newbie on it Edited January 15, 2005 by DirtyBanditos Share this post Link to post Share on other sites