Jump to content

Recommended Posts

Posted

Hello,

I want a small program that helps me to search a specific folder that contains alot of files

these files are two types: the source file with extension (.fmb) and the executable file with extension (.fmx)

what I have to do is to put the name of a specific file (e.g add.fmb) and the size and the modified date of this file in an excel sheet file, then I have to search the folder that contains (add.fmb) for the executable file that belongs to which name is (add.fmx), if it is found then I have to put it in the same excel sheet file and if it is not found I have to search for it in other folder that I know it.

as you know you will see the name of the file and its size and modified date when you change the dispalying style of your files from the toolbar (i.e change it to details)

I hope to give me the code of this program as soon as possible, please

it's urgent


Posted

Open a command prompt, CD to where your files are, and do "DIR *.fmb >> filename.txt" which will give you a column'ed, sorted list of files. Excel can import fixed-width records.

Do the same thing but use *.fmx instead to get all the other files.

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
  • Recently Browsing   0 members

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