Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Simply the codes

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Simply the codes
  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 >>
 Simply the codes - 11/7/2007 3:29:04 AM   
  doctortt

 

Posts: 73
Score: 0
Joined: 6/15/2007
Status: offline
Hi, I'm wondering whether there is a way to use a fewer lines to the same as below. Thanks.


'objFSO.CreateFolder(DESTINATION1)
'objFSO.CreateFolder(DESTINATION2)
'Set objFolder = objFSO.GetFolder(SOURCE1)
'objFolder.copy(DESTINATION1)
'Set objFolder = objFSO.GetFolder(SOURCE2)
'objFolder.copy(DESTINATION2)
 
 
Post #: 1
 
 RE: Simply the codes - 11/7/2007 3:29:51 AM   
  doctortt

 

Posts: 73
Score: 0
Joined: 6/15/2007
Status: offline
Sorry for the typo. I mean "simplify the codes"

(in reply to doctortt)
 
 
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 >> Simply the codes 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