Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Dlete after close.

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Dlete after close.
  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 >>
 Dlete after close. - 6/9/2008 2:16:36 AM   
  Bloodman

 

Posts: 5
Score: 0
Joined: 6/8/2008
Status: offline
I need Help.Pls.I have got a sript and i want so he delete after close.Please
 
 
Post #: 1
 
 RE: Dlete after close. - 6/9/2008 2:28:48 AM   
  ehvbs

 

Posts: 2201
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Hi Bloodman,

I don't understand what you want to achieve. Could you explain a little bit more?

Thanks

ehvbs

(in reply to Bloodman)
 
 
Post #: 2
 
 RE: Dlete after close. - 6/9/2008 2:36:36 AM   
  Bloodman

 

Posts: 5
Score: 0
Joined: 6/8/2008
Status: offline
Sorry but I don t good in english.

(in reply to Bloodman)
 
 
Post #: 3
 
 RE: Dlete after close. - 6/9/2008 2:44:22 AM   
  ehvbs

 

Posts: 2201
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Just give it a try.

(in reply to Bloodman)
 
 
Post #: 4
 
 RE: Dlete after close. - 6/9/2008 2:52:22 AM   
  Bloodman

 

Posts: 5
Score: 0
Joined: 6/8/2008
Status: offline
I try again.

(in reply to Bloodman)
 
 
Post #: 5
 
 RE: Dlete after close. - 6/9/2008 2:52:41 AM   
  Bloodman

 

Posts: 5
Score: 0
Joined: 6/8/2008
Status: offline
How I set a script so self delete after close.

(in reply to Bloodman)
 
 
Post #: 6
 
 RE: Dlete after close. - 6/9/2008 3:04:30 AM   
  ehvbs

 

Posts: 2201
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
To delete a file you need a FileSystemObject, in particular its method .DeleteFile.
This method takes the full file specification of the file to be deleted as its first parameter.
The WScript object (WScript.ScriptFullName property) will give you the file specification
of the currently running script.

Use the keywords in bold to search the VBScript Docs

  http://www.visualbasicscript.com/fb.aspx?m=24727

, the Frequently Asked Stuff

   http://www.visualbasicscript.com/fb.aspx?m=47117 

, and the forum (Search feature) for sample code and further explanations.

Good luck!

ehvbs

(in reply to Bloodman)
 
 
Post #: 7
 
 RE: Dlete after close. - 6/9/2008 3:31:02 AM   
  Bloodman

 

Posts: 5
Score: 0
Joined: 6/8/2008
Status: offline
Thanks.

(in reply to ehvbs)
 
 
Post #: 8
 
 
 
  

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 >> Dlete after close. 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