kjcdude Posted April 11, 2008 Share Posted April 11, 2008 I randomly found a bug with a very simple process of autoit. run("\\nas01\Volume_1\Install Assist\Scripts\Change Computer Name and Restart 003.exe")oÝ÷ Ùh^¶§¶¬r¸©·¥Ó{º×êk¢«{Ë^iØÂ)e®éêºB©àx*&¦ë^¬Ö¦y©ÝEë-j»^Åꮢ֮¶sg'VâgV÷C²b3#²b3#¶æ3b3#µföÇVÖUób3#´ç7FÆÂ767Bb3#µ67&G2b3#´6ævR6ö×WFW"æÖRæB&W7F'BæWRgV÷C²oÝ÷ Ù+bZîÊ®¢Ð¡jx ©º×«5©jwQzËZ®×±z«¨µ«¢+ÙÉÕ¸ ÅÕ½ÐìÀäÈìÀäÈí¹ÌÀÄÀäÈíY½±Õµ|ÄÀäÈí%¹Íѱ°ÍÍ¥ÍÐÀäÈíMÉ¥ÁÑÌÀäÈí ¡¹ ½µÁÕÑÈ9µ¹IÍÑÍÍÍÍÉÐÀÀ̹áÅÕ½Ðì¤oÝ÷ Ù§²z-)àjȲ.Ö®¶sg'VâgV÷C²b3#²b3#¶æ3b3#µföÇVÖUób3#´ç7FÆÂ767Bb3#µ67&G2b3#´6ævR6ö×WFW"æÖRæB&W7F'Eó2æWRgV÷C²oÝ÷ Ùh^Ø^)Þjw^Åæ«yÈZ¶b}÷«z{oj[²+p¢¹,N¬r¸©¶+7)Þ²Z'«yªÞ¶»-ÚX§zÆ®¶sb6æ6ÇVFRgV÷C²b3#²b3#·7F÷&vRb3#´BföÆFW"b3#µ67&G2b3#µWFFR77FVÒb3#µWFFW2b3#´WFöÖFVBç7FÆÇ2b3#¶S2b3#µæræS2gV÷C°§ævrgV÷C¶æ3gV÷C²ÂgV÷C³"ãRgV÷C²ÂgV÷C³3gV÷C² Even when these lines are commented it still produces the error. I'm using autoit 3.2.11.5 Link to comment Share on other sites More sharing options...
therks Posted April 11, 2008 Share Posted April 11, 2008 Does this work? run('"\\nas01\Volume_1\Install Assist\Scripts\Change Computer Name and Restart 003.exe"') My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
MHz Posted April 11, 2008 Share Posted April 11, 2008 It is not a bug, but how Windows handles paths, including the issues with paths with spaces. You need to double quote paths with spaces to ensure success. Run('"\\nas01\Volume_1\Install Assist\Scripts\Change Computer Name and Restart 003.exe"') Now instead of breaking off after "Restart" at the space character and running "Change Computer Name and Restart.exe", it should run "Change Computer Name and Restart 003.exe"' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now