![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-26 20:15 |
47,812 topics / 349,912 posts / today 2 new / 48,264 members |
| 其它操作系统综合讨论区 » What is the function of "%*"? |
| Printable Version 4,163 / 33 |
| Floor1 wujingyi | Posted 2008-01-27 19:02 |
| 初级用户 Posts 46 Credits 47 | |
|
What is the function of "%*" in "[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open\command] @="\"%1\" %*""?
|
|
| Floor2 plp626 | Posted 2008-01-27 19:24 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
|
%1 %2 %3 ... %9
Personal opinion |
|
| Floor3 wujingyi | Posted 2008-01-29 21:06 |
| 初级用户 Posts 46 Credits 47 | |
|
Who knows, please help!!
|
|
| Floor4 fastslz | Posted 2008-01-29 23:03 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
@echo off
call :xxx A B C D E F G H I J K :xxx echo %* goto:eof |
|
| Floor5 lingbm | Posted 2008-01-30 00:11 |
| 初级用户 Posts 27 Credits 62 | |
|
Wildcards, right? Hehe. Don't use this method to explain it upstairs~
|
|
| Floor6 fastslz | Posted 2008-01-30 19:07 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
Originally posted by lingbm at 2008-1-30 00:11: Can't understand without examples, just like this there are also private messages asking @echo off @echo off |
|
| Floor7 wujingyi | Posted 2008-01-30 19:22 |
| 初级用户 Posts 46 Credits 47 | |
|
It's an abbreviated form, but I know this one, just don't understand what this means.
:xxx echo %* goto:eof |
|
| Floor8 fastslz | Posted 2008-01-30 19:33 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Display %? All available variables
|
|
| Floor9 wujingyi | Posted 2008-01-30 19:33 |
| 初级用户 Posts 46 Credits 47 | |
|
Please provide the Chinese content that needs to be translated so that I can translate it for you.
|
|
| Floor10 wujingyi | Posted 2008-01-30 19:35 |
| 初级用户 Posts 46 Credits 47 | |
|
What is the use of displaying all available variables?
|
|
| Floor11 fastslz | Posted 2008-01-30 19:39 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open\command]
@="\"%1\" %*" Run the EXE itself. If there are following parameters, run according to the parameters. %* can include multiple parameters |
|
| Floor12 wujingyi | Posted 2008-01-30 19:41 |
| 初级用户 Posts 46 Credits 47 | |
|
What is the use of including multiple parameters?
|
|
| Floor13 fastslz | Posted 2008-01-30 19:52 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Why do I have to say it clearly? If RAR can only pass 1 parameter, then can it still be useful?
|
|
| Floor14 wujingyi | Posted 2008-01-30 20:10 |
| 初级用户 Posts 46 Credits 47 | |
|
assoc .abc=abcfile
ftype abcfile=notepad %1和ftype abcfile=notepad %2以及 ftype abcfile=notepad %3 What's the difference? I tried it. The first combination above can open the file to be clicked, but the latter two can't!!! Why? I don't understand, please tell me!!! |
|
| Floor15 wujingyi | Posted 2008-01-30 20:12 |
| 初级用户 Posts 46 Credits 47 | |
|
I think the latter two should also be useful!!!
|
|
| 1 2 3 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |