Try using double slashes in the file name.

e.g.
"C:\\Documents and Settings\\Administrator\\..."

Mike

--- In amibroker@yahoogroups.com, Rajiv Arya <rajivary...@...> wrote:
>
> 
> Hi all,
>    Created an autoit executable called HelloWorld.exe
> 
> Line three works fine
> Line two give me an error
> when I cut and paste the string into run text box, it works fine 
> 
> Very frustrating.
> 
> Thanks
> Rajiv
> 
> WshShell = CreateObject("WScript.Shell");
> WshShell.Run("C:\Documents and 
> Settings\Administrator\Desktop\Autoit\HelloWorld.exe");
> WshShell.Run("calc.exe");
> 
>                                         
> _________________________________________________________________
> Windows 7: It works the way you want. Learn more.
> http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2
>


Reply via email to