write a vb script to display the size of the folder,date
created and name of the folder



write a vb script to display the size of the folder,date created and name of the folder..

Answer / mudaseer

dim vfso
vfolder="C:\apple1"
set vfso=createobject("scripting.filesystemobject")
set vf=vfso.getfolder(vfolder)
msgbox vf.datecreated
msgbox vf.size
msgbox vf.name

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

How to Enter Values on the Command promt using VB script

0 Answers  


hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me

6 Answers   HP,


Difference between dim,public and private variables in vb script?

0 Answers  


How to Import data from a file (file is on the desktop) to the data table

0 Answers   IBM,


What are string functions in vbscript?

0 Answers  






What is vbscript procedures?

0 Answers  


How to replace junk code recorded by QTP with a mall function.

0 Answers  


What is the difference between function and procedure?

0 Answers  


How to create MSAcess table foriegn key

1 Answers  


Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble

0 Answers   GCE, Sapient,


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

0 Answers   Estuate,


Give examples where vb script can directly run on users system with windows as os?

1 Answers  


Categories