|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
|
2008-1-30 20:47 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
|
2008-1-30 20:49 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
你有qq吗?能留个号码吗?
Do you have QQ? Can you leave the number?
|
|
2008-1-30 20:50 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
如果要%1以上,命令应该怎样的呢?
If it is more than %1, what should the command be like?
|
|
2008-1-30 20:54 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
还真打破沙锅了
有的支持%*语法有的不支持,注册表还要相对的关联
assoc .abc=abcfile
ftype abcfile=winrar.exe a "%1.rar" "%1" -p%2
然后你双击*.abc试试(提示输入密码)
再试试运行*.abc 12345(直接将12345当成密码了)
Really got to the bottom of it Some support the %* syntax and some don't, and the registry also needs corresponding associations assoc .abc=abcfile ftype abcfile=winrar.exe a "%1.rar" "%1" -p%2 Then you double-click *.abc and try it (prompt to enter password) Try running *.abc 12345 again (directly treat 12345 as the password)
|

第一高手 第二高手
我的小站
 |
|
2008-1-30 21:21 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
能否再举个关于%1以上的扩展名的实例呢?
Can you give another example of an extension with more than %1?
|
|
2008-1-30 21:33 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
|
2008-1-30 21:53 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
|
2008-1-30 22:01 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
知道了,我已经试过了,是以附件形式放到电子邮件中
Got it, I've tried it already. It's placed in the email as an attachment.
|
|
2008-1-30 22:07 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
自己 看rar帮助
灵活点
ftype abcfile=winrar.exe a "%1.rar" "%1" "%2" "%3" "%4"
运行*.abc -p12345 -iemlxxx@xxx.com
没传递%4参数则%4参数被忽略
Look at the RAR help
Be flexible
ftype abcfile=winrar.exe a "%1.rar" "%1" "%2" "%3" "%4"
Run *.abc -p12345 -iemlxxx@xxx.com
If the %4 parameter is not passed, the %4 parameter is ignored
|

第一高手 第二高手
我的小站
 |
|
2008-1-30 22:08 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
能否再举个关于%1以上的别的扩展名的实例呢?
Can you give another example of an extension other than %1?
|
|
2008-1-30 22:08 |
|
|
wujingyi
初级用户
 
积分 47
发帖 46
注册 2008-1-17
状态 离线
|
|
2008-1-30 22:26 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
fastslz还真是有耐心,我等表示敬意!
fastslz is really patient, we show our respect!
|
|
2008-1-30 22:55 |
|
|
lingbm
初级用户
 
积分 62
发帖 27
注册 2008-1-23
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
能看懂也不枉他的苦心了...我可是看的一头雾水...
It's not in vain of his hard work that I can understand it... But I'm completely at a loss...
|
|
2008-1-31 00:56 |
|
|
Jneny
高级用户
    中國DOS聯盟常任參議员
积分 686
发帖 318
注册 2005-11-4
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
%0 代表本身。 %1代表后面的第一个参数。 %2第二个 依次下去。
%*是所以的相当于shift吧
%0 represents itself. %1 represents the first parameter that follows. %2 represents the second one, and so on.
%* is equivalent to shift for all
|

. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/
我的百度空间: BEYOND超越 为什么用DOS |
|
2008-1-31 03:18 |
|