[ Last edited by HAT on 2008-11-15 at 00:27 ]作者: lserfn 时间: 2008-11-14 22:37 首先要把rar.exe弄到system32下
@echo off
set a=E:\软件\
for /f %%i in (%0) do (
rar a %a%系统工具.rar %%i
)
pause作者: Wingl83 时间: 2008-11-14 22:53 把文件(夹)拖到这个批处理图标上后,把批处理移到E:\软件\系统工具.rar中了。作者: tireless 时间: 2008-11-14 23:03
@ "C:\Program Files\WinRAR\Rar.exe" a -df -inul "E:\软件\系统工具.rar" %*
[ Last edited by tireless on 2008-11-14 at 23:36 ]作者: lserfn 时间: 2008-11-14 23:06 弄错了. 不是%0是%1 呵呵
首先要把rar.exe弄到system32下
@echo off
set a=E:\软件\
for /f %%i in (%1) do (
rar a %a%系统工具.rar %%i
)
pause作者: Wingl83 时间: 2008-11-14 23:41 谢谢你们,问题已解决……