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

i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

0 Answers  


Mention what is the main difference between function and sub-procedure?

0 Answers  


What are the naming conventions while declaring a variable in the vbscript language?

0 Answers  


How to search word in a string without using instring function?

1 Answers   CSS Corp,


Mention what is vbscript?

0 Answers  






What is event handling in vbscript?

0 Answers  


How many data types are supported in Vbscript?

3 Answers   Microsoft,


Explain the operator precedence in vb script?

0 Answers  


What is the purpose of on error resume next statement?

0 Answers  


What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?

1 Answers   Infosys,


Please Example programms on vbscript 1)writing functions and calling functions

2 Answers   CIL, TCS,


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


Categories