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

What is the difference between vb debugger and the script debugger?

0 Answers  


Am working with web application. i faced one senario. i.e, webpage having webtable having two coloumns, in that first coloumn is for serial no and second coloumn is for mac address link, now i want to get first row second coloumn value, that having macaddress as link. Please help me how to get that link?

2 Answers  


Difference between Function and Sub routine?

0 Answers   Polaris,


What is the difference between do until loop and do while loop?

0 Answers  


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

0 Answers  






How many types of procedures are available in the vbscript language?

0 Answers  


What is the use of the formatdatetime function in the vbscript language?

0 Answers  


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

0 Answers  


Mention how you can call vbscript functions?

0 Answers  


What is the technology used by vb script?

0 Answers  


Which data type/types are supported by vbscript language and what are their specialties?

0 Answers  


int a=4857 i need output as 7584.without using any inbuild function?

6 Answers   Aspire,


Categories