Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Help Me

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,49668
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help Me
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Help Me - 7/18/2007 6:22:33 PM   
  ycanti


Posts: 3
Score: 0
Joined: 7/18/2007
From: INDIA
Status: offline
Original message moved by ebgreen
Reason : Moved to proper forum
while uninstalling the rational robot application the folder is not getting deleted.i have tried using many VB Scripts..
pls help me out with a VB Script..
 
 
Post #: 1
 
 RE: Help Me - 7/19/2007 3:58:57 AM   
  Parabellum


Posts: 222
Score: 0
Joined: 11/12/2006
From: UK
Status: offline
the actual delete vbs code is simple...

dim objFSO, unwanted
set objFSO = CreateObject ("Scripting.FileSystemObject")
set unwanted = objFSO.GetFolder("c:\unwanted\")
unwanted.Delete

could be a problem with permission or files in use..

if you would like more help, maybe try posting an example of some code you have tried.. and giving a few more details.

(in reply to ycanti)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help Me Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts