Jump to content

help with FileFindFirstFile ()


Recommended Posts

I think the quickest and dirtiest way of doing just that is piping a dir command to a text file. something like this should do the trick.

runwait(@comspec & ' /c dir c:\*.pst /s/b >pstlist.txt')

(the /b makes it output just the filenames, quite handy.)

You could then have autoit perform operations with For...Next commands on the text file's contents... though for that, I'll leave it up to you to do some research and get started a bit on your own...

Edited by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...