Does anyone have any suggestions on making a small stand alone program that takes a given folder of files and runs through the files and prints to the screen each file name in the folder and also all of the attributes of each file such as the size, date created, date last modified, etc?If you have any ideas, please let me know.Thank you.
11/1/2006 8:01:37 AM
I don't know much about VB, but could you make your VB program execute a shell command, and then get the results from that?doing a simple 'dir' from the command prompt gives you everything you would need[Edited on November 1, 2006 at 9:14 AM. Reason : edit: oops, it doesn't give you the date created, sorry]
11/1/2006 9:13:59 AM
how about..... Windows Explorer
11/1/2006 9:27:00 AM
You need to be specific about which attributes you need. And which version of VB you want to use.
11/1/2006 9:36:37 AM
11/1/2006 9:56:33 AM
My method may not be the best, but I stick by it, because it's actually something I might be able to implement myself
11/1/2006 11:42:50 AM
So how do you recommend doing it. I don't have too much of a background with programming. Also, it might be better to do in JAVA since it's more universal on windows computers.Thanks.
11/1/2006 11:45:00 AM
THERE IS NO NEED TO WRITE A PROGRAM TO DO THIS.Windows Explorer -> View -> DetailsRight click on the column header area at the top, select the file info you want to be displayed, or click More... and choose from more than you could ever want to know about a damn file.This makes my head want to explode
11/1/2006 1:40:36 PM
I want to do more with the program jackass. I just need this part to start out with. I know how to use windows.
11/1/2006 1:46:18 PM
Then maybe it would help to have posted what you ACTUALLY want to do, so we could offer you ACTUAL help.
11/1/2006 1:48:18 PM
First, you tell us what version of VB you want to use. If you're using VB6 or earlier, then we tell you to take a look at, say, the Scripting.FileSystemObject. If you're using VB.NET, then we'll give you a completely different answer, which might involve looking in the System.IO namespace. Then if you have further questions, you come back here, elaborate, and somewhere amongst a bunch of not very helpful posts, someone may answer your question.
11/1/2006 4:32:22 PM
11/1/2006 10:58:58 PM