Sign in to follow this  
Followers 0
mozart90

Findfirstfile - Help Needed

4 posts in this topic

Hi,

I use the FindFirstFile funktion in my skript. And in the Autoit 3.1.1 you'll get the'.' and '..' of the directory returned.

But the beta version does not behave in the same way. there are missing these dots...

So is it possible to find out theres an updirectory ?

Or do I have to change my whole skript ?

greetings mozart90

Share this post


Link to post
Share on other sites



I do not have an answer for you - but I can replicate the issue using:

C:\Program Files\AutoIt3\Examples\Helpfile\FileFindFirstFile.au3

I noticed that the production version of that file has this comment:

; Shows the filenames of all files in the current directory, note that "." and ".." are returned.

and the beta version...

; Shows the filenames of all files in the current directory.

I could not locate a thread that discussed this change or a work around for you... but here is a free bump.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Hi,

I use the FindFirstFile funktion in my skript. And in the Autoit 3.1.1 you'll get the'.' and '..' of the directory returned.

But the beta version does not behave in the same way. there are missing these dots...

So is it possible to find out theres an updirectory ?

Or do I have to change my whole skript ?

greetings mozart90

True the beta never return '..' or '.' anymore.

Share this post


Link to post
Share on other sites

If you are new to AutoIT and would like to get the basics down quicker, check out this awesome new coaching tool...

And if you find it useful ...vote :)

http://www.autoitscript.com/forum/index.php?showtopic=24117


~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT

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