Jump to content

Search the Community

Showing results for tags 'search file'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi, been searching around, and many asked a similar question, tried some solutions on my problem, but couldn't do it. Problem is, got a path, and want the script to search for a file (prefs.js) in a folder, but one of the folders change it's name every now and then, well, i do, and don't want to change the script every time, so i thought someone could help me out. Path is: Drive\PROGS\01 INSTALL\**VariableFolderName**\Profiles\Profiles\default.default\prefs.js FileFindFirstFile doesn't support wilcards on the path, only the file, meaning im stuck. $aArray = DriveGetDrive('FIXED') If @error Then MsgBox(4096, "DriveGetDrive", "It appears an error occurred.") Else For $i = 1 To $aArray[0] FileFindFirstFile($aArray[$i] & '\PROGS\01 INSTALL\'& * &'\Profiles\Profiles\default.default\prefs.js') If FileExists($aArray[$i] & '\PROGS\01 INSTALL\'& * &'\Profiles\Profiles\default.default\prefs.js') Then Else MsgBox(0, "Error", "No files/directories matched the search pattern") EndIf Next EndIf
×
×
  • Create New...