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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

1. How do declare public variable in vb scripts?

1579


how to automatically update the sql server2005 database records when insert in vb6?

1487


What are the disadvantages of vbscript?

655


did any one attended interview in applabs if you had gone through plz tell me the procedure

1859


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1442






Which loop is used in case of arrays in the vbscript language?

522


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

872


What is dictionary object in vbscript? Explain?

628


i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1419


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

529


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

1584


How to open browser in vb script?

585


Which operator can be used to check if two numbers are equal or not in vbscript?

652


Mention what is byref and byval parameters in vbscript?

579


How can you destroy an object in vbscript?

642