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

Explain the functionality of vbscript?

0 Answers  


explain with example primitive data types of vb script.

1 Answers  


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

0 Answers  


Explain about the extension .hta?

0 Answers  


How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.

0 Answers   GE, iGate,


When does ‘on click of button’ event gets triggered in the vbscript language?

0 Answers  


Explain different types of segment?

0 Answers  


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

0 Answers   Synechron,


write a vb script to add two 2*2 matrix

2 Answers  


Write a Script for ATM in QTP

0 Answers  


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

0 Answers  


i created script for login in QTP,i parametirized that using global sheet,problem i am facing is first i want to login with first values provided in excelsheet and want to perform some operation,second time if call same action it should login with second values in excelsheet

2 Answers   TCS,


Categories