标题: ftype exefile="%1" %* 如何在批处理中编辑使用.
[打印本页]
作者: kingshui
时间: 2006-12-30 06:19
标题: ftype exefile="%1" %* 如何在批处理中编辑使用.
如:
assoc .exe=exefile
ftype exefile="%1" %*
我试过了..
照搬的话就出问题了..
呵呵..结果是可执行文件运行不了...
本来是要来修复可执行文件的..
但是不会在批处理中使用...
请高手指教...
操作系统是2k3
[
Last edited by kingshui on 2006-12-30 at 06:28 AM ]
作者: ccwan
时间: 2006-12-30 06:34
是否又是%的问题?
批处理中用%%
作者: tao0610
时间: 2006-12-30 06:34
修复关联应该没有错误.
你进command里重打一遍看看.
作者: lxmxn
时间: 2006-12-30 13:12
@echo off
assoc .exe=exefile
ftype exefile="%%1" %%*
assoc .exe
ftype exefile
pause
作者: kingshui
时间: 2006-12-30 20:42
谢谢楼上的帮助...
呵呵...
我傻了...
只在%1那加了一个%号..
%*那却没加...
难怪会连软件也运行不了...