cag8f Posted December 18, 2010 Share Posted December 18, 2010 I have a home network consisting of 2 computers: COMPUTER1, Win 7 Pro 64 bit, Username = MYNAME, Password = PASSWORD COMPUTER2, Win XP Pro 32 bit, Username = MYNAME, Password = PASSWORD I can succesfully copy files back and forth and both have the latest version of Autoit installed. From COMPUTER1 I would like open a .au3 script housed on COMPUTER2, edit it, and compile it so that the resulting .exe is housed in the same directory on COMPUTER2. I can open and edit the file, but when I try to compile I get: --a window named "Compile" with a progress bar. Underneath it reads, "Running Aut2exe.exe" --after maybe 10-20seconds an error window pops up reading, "Error: Error opening the destination file." --I hit "OK" and compiling ends with no .exe created. This happens when I compile in x86 or 64bit mode (I assume I want x86 since I want to run the exe on an x86 machine). When I'm working locally on COMPUTER2 I can succesfully compile the .exe. Any thoughts onto what's causing this problem? Link to comment Share on other sites More sharing options...
flyingboz Posted December 18, 2010 Share Posted December 18, 2010 (edited) close the file first. You can use sysinternals pskill for killing the app remotely. Edited December 18, 2010 by flyingboz Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
cag8f Posted December 18, 2010 Author Share Posted December 18, 2010 (edited) I tried editing the script, closing the file, navigating to it (over the network) in Windows Explorer, right clicking, and compiling, but I get the same error. Edited December 18, 2010 by cag8f Link to comment Share on other sites More sharing options...
cag8f Posted December 18, 2010 Author Share Posted December 18, 2010 I tried editing the script, closing it, navigating to it (over the network) in Windows Explorer, right clicking, and compiling, but I get the same error. Link to comment Share on other sites More sharing options...
flyingboz Posted December 18, 2010 Share Posted December 18, 2010 have you actually tried killing the process? Either you don't have permissions to create the file, or the script is running. Try to create with a new name. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
cag8f Posted December 18, 2010 Author Share Posted December 18, 2010 Aha, compiling with a new name worked--thanks! Now why is that exactly? The script is running on the host or target? I never explicitly ran the script; is running the script part of the compile process? 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