write a vb script to create a folder?

Answer Posted / suman

dim x
set x= createObject("Scripting.FileSystemObject")
x.CreateFolder()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you get the largest subscript of an array in vbscript?

850


Explain about the asc function?

805


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

793


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1610


Can automation testing find ssame no. of bugs what we can find by manual testing?

1714


Explain the operator precedence in vb script?

831


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2695


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..

2246


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

2799


How will you check that a variable is an array in vbscript?

734


Explain about filter expression?

765


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1450


What are the uses of vb script?

788


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

2018


Mention the rules for using option explicit statement?

687