Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying
Append date and time to filename when copying Append date and time to filename when copying
Append date and time to filename when copying
Go Back  Xtreme Visual Basic Talk > > > Append date and time to filename when copying


Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2012, 07:55 PM
HappyJoni's Avatar
HappyJoni HappyJoni is offline
Centurion
 
Join Date: Jun 2003
Location: New Jersey
Posts: 169
Unhappy Append date and time to filename when copying


Hi,

I've been stuck on this for about 2 hours now and it's driving me crazy. I want to save an old version of a file before overwriting or deleting. I would like to append the date and time to the end of the filename. Is there a way to do this??

TIA
Joni
Reply With Quote
  #2  
Old 07-22-2012, 07:10 AM
AtmaWeapon's Avatar
AtmaWeaponAppend date and time to filename when copying AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

Copy takes two parameters: the source and destination path. If you want a copy of a file with a different name, copy it to the same directory with a new name.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying Append date and time to filename when copying
Append date and time to filename when copying
Append date and time to filename when copying
 
Append date and time to filename when copying
Append date and time to filename when copying
 
-->