Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to delete an existing folder
#1
Solved: 10 Years, 9 Months ago
Hello,

Can any one please tell me how to delete an existing folder using QTP

Thanks in advance
Reply
#2
Solved: 10 Years, 9 Months ago
Code:
Set oFSO = CreateObject("Scripting.FileSystemObject")
oFSO.DeleteFolder("C:\FSO")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Delete Firefox history and Cookies Anupama 0 1,324 06-18-2018, 11:57 AM
Last Post: Anupama
  Executing via create "RES"xx folder? nishitd 0 1,112 03-07-2018, 01:09 AM
Last Post: nishitd
  code for validation to create a sub folder smiley 0 1,431 10-19-2016, 10:08 PM
Last Post: smiley
  [UFT] Close opened folder robertosalemi 1 3,154 02-10-2016, 07:06 PM
Last Post: robertosalemi
  Run scripts from folder badri 1 2,638 11-26-2014, 06:18 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)