write a vb script to create a folder?

Answer Posted / prathyusha

set ofso=createobject("scripting.filesystemobject")
set ofold=ofso.createfolder(strpath)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1544


Which function is used in the vbscript language to convert the specified expression into a date type value?

514


What is vbscript procedures?

593


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2017


When to use function procedures and what are its characteristics?

542






How to open excel in vb script?

563


What are events in the vbscript language?

541


how to increase the values in text box in a given text box increament by two values by clicking on button

1641


Can u describe what kind of testing are for OTC derivates by banks.

1659


What is Procedure or Subroutine in VB Script?

598


What are lbound and ubound in the vbscript language?

595


What is vbscript language used for and which earlier language is it modeled upon?

522


Which operator can be used to change the value of the operand or change the state of the condition?

568


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

1799


What are the advantages of vbscript?

634