CatchFish Posted March 13, 2006 Posted March 13, 2006 (edited) ConsoleWrite("Step 1" & @LF) Run("C:\Program Files\Outlook Express\msimn.exe");Succeeds FileWrite("C:\Program", "");Creates a file named "Program" ConsoleWrite("Step 2" & @LF) Run("C:\Program Files\Outlook Express\msimn.exe");FailsIf you installed AutoIt 3 in C:\Program Files\AutoIt3\, something VERY BAD happens after you run that script:Some menu commands, for example Go & Beta Run, lose effectiveness in SciTE.A window pops up which says "xxxx is not a valid win32 application" when you right click a .au3 file and choose Run Script.Other terrible things...I've suffered a lot from the GOD D*MN file C:\Program. You might want to delete it before it drives you mad, if necessary. Edited March 13, 2006 by CatchFish
MHz Posted March 13, 2006 Posted March 13, 2006 Wrapping single quotes may help to keep AutoIt from failing with the space in Program Files. Run('"C:\Program Files\Outlook Express\msimn.exe"') Why M$ has spaces in key folders is beyond me. The statement of Program in the root of drive is a known issue of old. I have seen some installers warn over using that. It is bad karma indeed.
CyberSlug Posted March 13, 2006 Posted March 13, 2006 Why M$ has spaces in key folders is beyond me. The statement of Program in the root of drive is a known issue of old. I have seen some installers warn over using that. It is bad karma indeed.I read that it was a way to force programmers to deal with long file names when Windows 95 was introduced. It is annoying though. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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