Jump to content

How I can get a full filename when I have some chars from its name


Recommended Posts

For example:

I know that a file name starts with 20130713152034 chars in its begining and i also know its folder path (for example has been located in: f:folder1folder2)

I need the full name of this file.

:

I think you need to use FileFindFirst FileFindNext.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Use Melbas' >RecFileListToArray UDF if you're not sure where the file is.

Something like:

$aArray = _RecFileListToArray("f:\folder1\folder2\", "StartingOfTheFileName*", 1, 1, 1, 2)
Edited by DatMCEyeBall

"Just be fred, all we gotta do, just be fred."  -Vocaliod

"That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha

@tabhooked

Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation

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...