By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,967 Members | 1,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,967 IT Pros & Developers. It's quick & easy.

How to get the name and other porperties of folder/file

100+
P: 284
i want to get the name and all the other properties
of the file contain in the folder which i install programe
specially time and date

its must be random like first its goes to first
file/folder get it name and other properties
then to other

what is the code of getting name and other properties of the folders
Jan 18 '08 #1
Share this Question
Share on Google+
2 Replies


kadghar
Expert 100+
P: 1,295
i want to get the name and all the other properties
of the file contain in the folder which i install programe
specially time and date

its must be random like first its goes to first
file/folder get it name and other properties
then to other

what is the code of getting name and other properties of the folders

depends on the version of VB, but:

Expand|Select|Wrap|Line Numbers
  1. My.Computer.FileSystem.GetDirectoryInfo("C:\myFolder\")
might be of help.
Kad
Jan 18 '08 #2

100+
P: 284
thanks
but i want to get name of the folder where my .exe is
i want all the name and detail of files/folder

like
this folder contain 10 files
1 abc.txt size 10 kb date 10/12/2007
2 bcd.pdf size 5 kb date 5/10/2006
and so on
is there any way




depends on the version of VB, but:

Expand|Select|Wrap|Line Numbers
  1. My.Computer.FileSystem.GetDirectoryInfo("C:\myFolder\")
might be of help.
Kad
Jan 19 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.