Jump to content
Sign in to follow this  
13lack13lade

Opening PartlyKnown file name

Recommended Posts

13lack13lade

Hi Everyone!

Just a general question...  How to open files with a partly known file name...

For example

BOB JANE JULY 2023410 8 SALES.xlsx

Is there a way i can tell a script to select all files in a folder? (for example attaching to an email rather than listing direct file names but a location instead?)

Is there a way i can get autoit to identify a file to select with only using say 'BOB JANE' in the file name?

To be more specific i have a bunch of excel reports being dumped into a folder, i want to set up a script to format the spreadsheets according to a macro i already have and i want to format each individual spreadsheet then attach that to an email (the only thing im needing help with is in relation to file paths / file names and ways to get around it)

 

Thanks guys!

Share this post


Link to post
Share on other sites
big_daddy

Take a look at FileFindFirstFile() in the AutoIt Help File.

  • Like 1

Share this post


Link to post
Share on other sites
13lack13lade

thank you for that!

  • Like 1

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  

×