Sign in to follow this  
Followers 0
CADMonkey

EXE files working from share but not from local folder

3 posts in this topic

Hi,

I am hoping there is something simple I am doing worng here.  I have an autoit executable that works when I run it from a share folder, but 'misbehaves' when run from a folder on the computer desktop. (the program has a list of window titles it reads from an ini file and then closes the windows as they appear.)

I have run around in circles trying all sorts of things, but to no avail.

The local file does not appear in the task manager when run, but it does perform some of its functions.  It works perfectly when run from a share folder! 

Windows seems to treat the files differently if they are local, as the 'tooltip' when I hover the point over the file in a file manager window is different.

My question, does windows handle executables differently when run locally and if so, how can I get round it?

 

Many thanks.

Share this post


Link to post
Share on other sites



How are you referencing the INI?

Use this, so you can 'install' it locally, on run:

FileInstall

Really read the helpfile carefully on it.

If that's not the issue, then you will need to add logging, produce a snippet to reproduce, and submit that, so other's can debug.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Hi j, thanks for the suggestion. I will take a look tomorrow.

The ini file is read as a text file with the lines split into an array and the lines split up to provide the window name, text and appropriate button push.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0