请人帮写一个简单的VB程序,由批处理的代码转换VB代码

来源:百度知道 编辑:UC知道 时间:2024/06/10 14:54:05
@echo off
echo 正在清理系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清理系统垃圾完成!
echo. & pause

这个是一段批处理代码

想转换成VB

主要是删除的过程必须显示在lable中或者text中

知道有点麻烦,希望专业人士告知

加我 我帮你 QQ100017417

@echo off
改为@echo on
就可以看见过程了,何必转化成vb呢

说实话弄这个东西没啥意思,在DOS里面几条命令就解决问题,在VB里的话还要用API函数,绕圈子了,如果你只是想看到过程,那就把@echo off改为@echo on,就行了。

http://zhidao.baidu.com/question/71765348.html

可以帮你!!!!
请在HI里面留言!!!!!