![]() |
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-13 04:54 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » How to detect the time? Also asking for help with a drive-letter mapping tool... |
| Printable Version 1,423 / 3 |
| Floor1 电吉入侵 | Posted 2003-06-24 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
Question for everyone:
1. Does anyone have software that can map a folder on a CD as a drive, so that if I type drive_letter: it goes straight to that folder. 2. In a *.bat, how can I set it so that if no key is pressed within a specified time it jumps... 3. Are there any articles introducing return values and variables? 4. What does >nul mean? 5. How can I get the current drive letter as a variable? (That is, how do I know what drive I'm currently on? Don't tell me to use my eyes, hehe) Many thanks! |
|
| Floor2 chenall | Posted 2003-06-24 00:00 |
| 银牌会员 Posts 469 Credits 1,276 From 福建泉州 | |
|
1. You can use DOS's built-in SUBST
Usage: SUBST folder path Remove it with SUBST drive_letter /D 2. Use DOS's built-in CHOICE For details on CHOICE, enter CHOICE /? under DOS 3. Don't know, there probably are.... 4. >nul means the output is not displayed. In other words, the output content is not shown on the screen. The NUL after it can also be replaced with something else. For example, AA will store the output result in the AA file. 5. Figure it out yourself |
|
| Floor3 电吉入侵 | Posted 2003-06-24 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
No, that won't work. subst can only map hard disks; mapping a CD gives an error.....
|
|
| Floor4 gaojie | Posted 2003-10-29 00:00 |
| 中级用户 Posts 31 Credits 224 | |
|
Find another version!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |