How to extract version information that is appended to folder name

Is there any way to search for a file version in a folder where the end of the folder name may change depending on the version of the file in question?

Example: I need to determine the file version of "Windows365.exe in C:\Program Files\WindowsApp\. The folder where the file is always starts with \MicrosoftCorporationII.Windows365, but depending on the version installed it will have the version appended to it, such as
C:\Program Files\WindowsApps\MicrosoftCorporationII.Windows365_2.0.804.0_x64__8wekyb3d8bbwe\Windows365.exe

Thanks
SoftPerfect Support forum - Ann avatar image
Ann

Re: How to extract version information that is appended to folder name   22 January 2026, 13:35

Until now, Network Scanner supported wildcards (* and ?) only in the final component of the path, so patterns like C:\Program Files\Folder*\File.exe didn't work.

Good news: we've just made a new build that supports wildcards anywhere in the path. So you can now use this patterns to accomplish your goal:
C:\Program Files\WindowsApps\MicrosoftCorporationII.Windows365*\Windows365.exe
It will find all folders matching MicrosoftCorporationII.Windows365* and return the file version of Windows365.exe within each.
You can even use multiple wildcards at different levels if needed:
C:\Program Files\Something*\*\app.exe
I have tested this and IT IS AMAZING!!!!!!!!!!!!

Thank you so much!

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********  **     **  ********    ******    ******** 
    **     **     **  **     **  **    **   **       
    **     **     **  **     **  **         **       
    **     **     **  ********   **   ****  ******   
    **     **     **  **     **  **    **   **       
    **     **     **  **     **  **    **   **       
    **      *******   ********    ******    ******** 

Message: