1.

Solve : file properties?

Answer»

Quote from: novice84 on October 02, 2013, 07:01:23 AM

e.g. size, type, Author, Date modified, Path, etc.

& Project.

above listed these 6 properties will do the job.

I don't mind even if all properties are exported together.Is there a specific file type - doc, xls, ppt, or what?
Quote from: novice84 on October 02, 2013, 07:01:23 AM

but unfortunately I know a little bit of DOS

so I need to learn Wscript now
& Wscript means VBscript ?
are these same or different things ?

This is off topic, but you just need to GET a solution to your problem, whether it uses VBS or JS in WINDOWS Scripting Host (that is cscript.exe [cmd line] and wscript.exe [gui based]) or batch or some helper batch files, or third party utilities, and then understand the immediate details of how to use it.

In the future you will pick up more knowledge and can revisit your older scripts and figure out how they work.
The people here will also help you understand specific details of some code, when you ask.


But to help us develop an appropriate solution, we must have exact details of the task - and the person(s) helping you can then figure out the best or easiest code to solve the job. Knowing the details also enhances our enjoyment of writing some code to help you - otherwise we become bored scripting machines, and not human beings who give up their time to help other people.

Quote from: Salmon Trout on October 02, 2013, 11:59:22 PM
Is there a specific file type - doc, xls, ppt, or what?


no there is no specific type.
as I mentioned before as with DIR command we can list of files that exist in a folder, I was hoping to get more details of every file as we can see in file explorer. I thought it will be simple and straight forward, but seems to be complicated.

if it's required to mention a file type, .doc files we can start with and I hope in code we can easily change file extension to match the need.

Quote from: foxidrive on October 03, 2013, 01:17:21 AM

But to help us develop an appropriate solution, we must have exact details of the task - and the person(s) helping you can then figure out the best or easiest code to solve the job. Knowing the details also enhances our enjoyment of writing some code to help you - otherwise we become bored scripting machines, and not human beings who give up their time to help other people.


I appreciate every ones time & effort but trust me I have tried my best to explain.
well you have asked I will try again

if we use command DIR /A-D > tree.txt
we will get Date Modified, Time & Size along with file name.
so here we already getting 3 file properties.

I thought may be it's EASY the same WAY we can get more details.Again you failed to tell us the type of files you are processing, and haven't listed the properties in the order and format you want, and which properties you want.

It's kind of like taking your car to the mechanic and saying - there's something WRONG with my car, please fix it. And not telling him what is wrong.


Discussion

No Comment Found