Good afternoon, if anyone can help me with this i would be most appreciative
Im looking for a way to invoke the Defrag through visual basic, the defrag part i can do but i want to be able to analyze it first, to see if actually needs defragmentation
i know you can use Run
--> CMD --> defrag.exe C: -A
to analyze it, but the question is does it log it anywere? if it writes to a log file then i can just read the logfile.
The problem is i have a lot of hard drives contained within my computer, and files are always being moved, deleted, transferred, renamed and general havoc really so i want to write an efficient program in vb that will take control of that side of it so its one less thing to worry about. I noticed a post on defrag vbscript but cant makes heads or tails out of it.
Any help would be appreciated
Thank you
Kind Regards
Devon.
Im looking for a way to invoke the Defrag through visual basic, the defrag part i can do but i want to be able to analyze it first, to see if actually needs defragmentation
i know you can use Run
--> CMD --> defrag.exe C: -A
to analyze it, but the question is does it log it anywere? if it writes to a log file then i can just read the logfile.
The problem is i have a lot of hard drives contained within my computer, and files are always being moved, deleted, transferred, renamed and general havoc really so i want to write an efficient program in vb that will take control of that side of it so its one less thing to worry about. I noticed a post on defrag vbscript but cant makes heads or tails out of it.
Any help would be appreciated
Thank you
Kind Regards
Devon.
Comment