Hi all, i'm very new to all this and i'm looking for a little help.
I've been using VB to create back ends to databases, and i'm ok with that.
But VB is so expansive, and I haven't had a chance to play with it all.
So i'm having a crack with console applications, I dl'd Visual Studio 2010 express on my laptop, so I haven't got all the supporting tutorials and sample applications that come with the full product.
I want to create something, which I think would be really simple, but pardon me if it isn't.
I've searched through this forums and the internet, trying to piece together bits of code to accomplish what i'm trying to.
Alas i'm still stuck.
Essentially all I want to do is make a backup of a file.
My idea was to have a file in any directory and then at the command line type e.g. - "backup.exe c:\test.txt"
which will result in creating a copy of test.txt in the same folder obviously with a different name. e.g. - test.001
As another idea I thought if the file is being backed up regularly, say back up at the end of the day, and you want to keep a number of days worth of backups
if you run "backup.exe c:\test.txt" - it will test if "test.001" exists, test if "test.002" exists and so on then finally creating "test.005"
Does that make any sense??? That's not important anyway, just an after thought.
My latest idea was to be able to right click on the file and then have an option in the context menu...
Any help would be most appreciated
Cheers Andy
I've been using VB to create back ends to databases, and i'm ok with that.
But VB is so expansive, and I haven't had a chance to play with it all.
So i'm having a crack with console applications, I dl'd Visual Studio 2010 express on my laptop, so I haven't got all the supporting tutorials and sample applications that come with the full product.
I want to create something, which I think would be really simple, but pardon me if it isn't.
I've searched through this forums and the internet, trying to piece together bits of code to accomplish what i'm trying to.
Alas i'm still stuck.
Essentially all I want to do is make a backup of a file.
My idea was to have a file in any directory and then at the command line type e.g. - "backup.exe c:\test.txt"
which will result in creating a copy of test.txt in the same folder obviously with a different name. e.g. - test.001
As another idea I thought if the file is being backed up regularly, say back up at the end of the day, and you want to keep a number of days worth of backups
if you run "backup.exe c:\test.txt" - it will test if "test.001" exists, test if "test.002" exists and so on then finally creating "test.005"
Does that make any sense??? That's not important anyway, just an after thought.
My latest idea was to be able to right click on the file and then have an option in the context menu...
Any help would be most appreciated
Cheers Andy