Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


a little help, if then do nothing.

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> a little help, if then do nothing.
  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 >>
 a little help, if then do nothing. - 7/25/2007 5:18:29 AM   
  doctortt

 

Posts: 73
Score: 0
Joined: 6/15/2007
Status: offline
Hi guys. I'm new to vbscript. Can someone please assist and let me know what code I can use to replace in <do nothing/end script>?  Basically, I want the script to stop, if the source does not exist. Thanks in advance.

If Not (objFSO.FolderExists(SOURCE)) Then
<do nothing/end script>  
Else
<codes>
<codes>
 
 
Post #: 1
 
 RE: a little help, if then do nothing. - 7/25/2007 5:28:46 AM   
  Rischip


Posts: 502
Score: 2
Joined: 3/26/2007
Status: offline

      

_____________________________

Rischip
Author of - The Grim Linker

(in reply to doctortt)
 
 
Post #: 2
 
 RE: a little help, if then do nothing. - 7/25/2007 5:30:18 AM   
  doctortt

 

Posts: 73
Score: 0
Joined: 6/15/2007
Status: offline
silly me. Thanks a lot.

(in reply to doctortt)
 
 
Post #: 3
 
 RE: a little help, if then do nothing. - 7/25/2007 5:33:21 AM   
  CondoPC


Posts: 118
Score: 0
Joined: 7/23/2007
Status: offline
Or ...


      

(in reply to Rischip)
 
 
Post #: 4
 
 
 
  

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 >> a little help, if then do nothing. 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