![]() |
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-12 06:26 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Two questions: The usage of %1 %2 in 4dos clipboard |
| Printable Version 2,623 / 1 |
| Floor1 hit | Posted 2002-11-21 00:00 |
| 初级用户 Posts 148 Credits 688 From 陕西 | |
|
Seeing the 4dos help, it seems there is a clipboard. Who knows the specific usage? Also, who knows the usage of %1 %2, etc.? Thanks! [em28]
|
|
| Floor2 worrk | Posted 2002-12-11 00:00 |
| 初级用户 Posts 7 Credits 124 | |
|
Let me talk about the usage of %1 %2.
% represents a parameter. A parameter refers to the string added after the file name when running a batch file. Variables can range from %0 to %9. %0 represents the file name itself, and strings are represented in order from %1 to %9. For example: There is a batch file named t.bat under the C: root directory. The content is type %1 type %2 Then running c:\t a.txt b.txt will sequentially display the contents of the a.txt and b.txt files. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |