如何使用VB.NET制作碎片整理工具 [英] How to make a defragmentation tool with VB.NET

查看:81
本文介绍了如何使用VB.NET制作碎片整理工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我真的想在不调用defrag.exe的情况下使用VB.NET制作碎片整理工具。我想基本上通过Piriform(这里)制作Defraggler的自定义副本,因为我不是很无聊并且喜欢制作我自己的程序,而不是使用其他人。



程序将需要显示进度,当前文件被碎片整理等。所以我可能需要查看碎片整理库?



-Rixterz

解决方案

Windows已将defrag相关的API调用放入其中,您可以使用 - 有C#代码这里 [ ^ ]您可以将其作为起点。

Hi there,

I really want to make a defragmentation tool with VB.NET without calling defrag.exe. I want to basically make a custom copy of Defraggler by Piriform (which is here), because I'm not boring and like to make my own programs rather than using other peoples'.

The program will need to display progress, current file being defragmented etc. So might I need to look into a defrag library?

-Rixterz

解决方案

Windows has defrag related API calls baked into it that you could use - there is C# code here[^] you could use as a starting point.


这篇关于如何使用VB.NET制作碎片整理工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆