| You must Sign In to use this message board. |
|
|
 |
|
 |
I see there is "\\" inside the code. I think it is better to use Path.DirectorySeparatorChar for portability (Where can .NET code be ported to without change anyway?)
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
|
 |
|
 |
"(Where can .NET code be ported to without change anyway?)"
LINUX!  - Platform.NET - Mono.Net (www.Mono-Project.com)
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
 |
For single home developer's not sharing code with other's this may be considered. Otherwise there is PVCS systems like MS SourceSafe keeping track of versions and releases.
How about creating an old fashion DOS command file instead? 
Like:
mybackup.bat ----------------------------------------- md c:\mybackup\%1 xcopy c:\mysourcecode\*.* c:\mybackup\%1\*.* /E
%1 parameter can be date or day number or whatever. There is also possible to get a date inside the command file and running it without parameter, but this is more flexible. Error checking can be added if needed, so the parameter is right.
No need for coding, xcopy does the recursive job for you.
/Håkan
------------------------------------------------ - Bachelor in systems analysis - Systems developer, C#, Java, C, VB3-6 - DBA, database design, SQL ------------------------------------------------
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I understand the main problem, here are some suggestions: - Microsft has for this problem already build a tool, take a look around for SourceSave. - It's better to save the date format as YYYY-MM-DD, now you can sort on ASC en DESC.
Hope this helps, Gunmen
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
|