Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Create a file system object to do the following

i. Create a folder

ii. Create a text file in the folder

iii. Update text file with some tex

Answer Posted / usha

set fso=createobject("scripting.filesystemobject")

set f= fso.createfolder("C:UserssingarsyDesktopusha")

set file= f.createTextFile("abc.txt",2)

file.write("masdkmas.........")

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you create an object in vbscript?

1089


Explain the string concatenation function in vbscript?

1048


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

2976


How can you destroy an object in vbscript?

1115


Explain the scope of the variables using dim, public, and private keywords respectively.

1158


when we use filter funtiom invb script(QTP)

2784


When to use function procedures and what are its characteristics?

1082


how to increasing the numbers in a given text box please write a vb script

2213


What is event handling in vbscript?

1103


What is the use of option explicit in vbscript?

996


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1109


How will you get a string with the specified character the specified number of times in vbscript?

1020


Which function allows you to instantiate an object given its programmatic identifier or progid?

1033


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2939


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2093