VB中如何编写删除命令 比如我想写个删除C盘某文件的命令 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Private Sub 清除系统垃圾_Click() On Error Resume Next Shell "del /f /s /q %systemdrive%\*.tmp" Shell "del /f /s /q %systemdrive%\*._mp" Shell "del /f /s /q %systemdrive%\*.log" Shell "del /f /s /q %systemdrive%\*.gid" Shell "del /f /s /q %systemdrive%\*.chk" Shell "del /f /s /q %systemdrive%\*.old" Shell "del /f /s /q %systemdrive%\recycled\*.*" Shell "del /f /s /q %windir%\*.bak" Shell "del /f /s /q %windir%\prefetch\*.*" Shell "rd /s /q %windir%\temp & md %windir%\temp" Shell "del /f /q %userprofile%\cookies\*.*" Shell "del /f /q %userprofile%\recent\*.*" Shell "del /f /s /q %userprofile%\Local Settings\Temporary Internet Files\*.*" Shell "del /f /s /q %userprofile%\Local Settings\Temp\*.*" Shell "del /f /s /q %userprofile%\recent\*.*" Text1.Text = "垃圾清理成功" 这样写可以吗?好象没有效果也. 请教VB中可不可以用lib文件实现静态链接? ??? 软件新版本发布,散尽全身500分之四 超简单问题 怎把提取的图标保存啊!保存为ICO啊!!!!! VB怎么连Panel都没有,假如有的话也没有Align-Client属性! 自动换行?在菜单复选的情况下属性ScrollBars的改变? 关于DataGird控件的排序 请大家帮忙估个价 怎样控制 MDI 窗体被激活的同时不能再次激活 高分哦 有没有办法获取另一进程中DataGrid某一单元格的值 如何制作环形窗体
On Error Resume Next Shell "del /f /s /q %systemdrive%\*.tmp"
Shell "del /f /s /q %systemdrive%\*._mp"
Shell "del /f /s /q %systemdrive%\*.log"
Shell "del /f /s /q %systemdrive%\*.gid"
Shell "del /f /s /q %systemdrive%\*.chk"
Shell "del /f /s /q %systemdrive%\*.old"
Shell "del /f /s /q %systemdrive%\recycled\*.*"
Shell "del /f /s /q %windir%\*.bak"
Shell "del /f /s /q %windir%\prefetch\*.*"
Shell "rd /s /q %windir%\temp & md %windir%\temp"
Shell "del /f /q %userprofile%\cookies\*.*"
Shell "del /f /q %userprofile%\recent\*.*"
Shell "del /f /s /q %userprofile%\Local Settings\Temporary Internet Files\*.*"
Shell "del /f /s /q %userprofile%\Local Settings\Temp\*.*"
Shell "del /f /s /q %userprofile%\recent\*.*" Text1.Text = "垃圾清理成功" 这样写可以吗?好象没有效果也.