I am working on a new development tool that would impact Logon/Logoff times,
as well as increase network bandwidth usage.
Goal of the project is, for Windows 7, to create a tool that at logon checks the sizes of the files on the desktop and if the file reaches certain size, takes some action: whether warns the user to do something with these files or copies the files to a share Drive and creates desktop shortcuts.
Was looking to do this with a form using C#. Before I begin was wondering if there were any examples out there of anything similiar to look at or any sample code of how to collect the filesizes and then move the larger files.
I don't know how deep is your c# or .net knowledge but this might help you: FileInfo.Length Property
win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming
remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation
private lessons are not an option so please don't ask for help in private, I won't replay
if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know
that's the way how the move method works. just use the same name so it does not get renamed.
win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming
remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation
private lessons are not an option so please don't ask for help in private, I won't replay
if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know
Yeah only problem is I have an array where it is locating multiple files from Directory A and if they exceed a certain size it is moving them to Directory B though.
Think I got it though.
DirectoryInfo di = new DirectoryInfo("C:\\OldFolder");
Bookmarks