Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Replacing the entire file?

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Replacing the entire file?
  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 >>
 Replacing the entire file? - 7/1/2008 1:40:01 AM   
  dslider

 

Posts: 49
Score: 0
Joined: 1/23/2008
Status: offline
OK this maybe a simple question but how can I replace a file? I want to replace the entire file with one I modified. The name will stay the same.
 
 
Post #: 1
 
 RE: Replacing the entire file? - 7/1/2008 2:55:00 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
CopyFile has a parameter that will force it to over write.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to dslider)
 
 
Post #: 2
 
 RE: Replacing the entire file? - 7/1/2008 3:21:35 AM   
  dslider

 

Posts: 49
Score: 0
Joined: 1/23/2008
Status: offline
thanks!@!

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

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 >> Replacing the entire file? 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