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

Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

0 Answers   Tech Mahindra,


In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

0 Answers   Nous,


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


What is the difference between VBScript and JavaScript?

0 Answers  


Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina

2 Answers  


write a vb script to display the code "vbscripting" alphabet by alphabet(i e 1st v then b and up to g)

2 Answers  


w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............

2 Answers   Cap Gemini, iGate,


how to set one column as primary key in QTP and fetch values accordingly

0 Answers   Ford,


Out of the different type of operators, which are evaluated first and last in the vbscript language?

0 Answers  


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

0 Answers  


Write a code to print numbers from 5 to 0?

0 Answers  


write a program to display configuration of a local system with the help of vb script.

0 Answers  


Categories