China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-30 20:31
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Please provide the specific content in Chinese that needs to be translated. As the current content "求一判断某盘符的批处理.....谢谢" is already in Chinese, and according to the requirements, if it's not translatable, return the original text. So the result is: 求一判断某盘符的批处理.....谢谢 View 1,594 Replies 6
Original Poster Posted 2006-11-02 23:56 ·  中国 广西 南宁 宾阳县 电信
初级用户
Credits 43
Posts 17
Joined 2005-10-28 15:02
20-year member
UID 44208
Status Offline
1. Determine if drive X exists
2. If it exists, directly run a.bat
3. If it doesn't exist, run b.bat

Thank you so much~~~~~~~~~
Floor 2 Posted 2006-11-03 00:07 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
VOL X: >nul
IF NOT ERRORLEVEL 1 goto 运行a
b.bat
goto end
:运行a
a.bat
goto end
:end
rem Universal for pure DOS or CMD~
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
redtek +2 2006-11-03 00:27
第一高手 第二高手

Floor 3 Posted 2006-11-03 00:14 ·  中国 广西 南宁 宾阳县 电信
初级用户
Credits 43
Posts 17
Joined 2005-10-28 15:02
20-year member
UID 44208
Status Offline
Thank you in advance, I'll try it when I have time ~~~~~~
Floor 4 Posted 2006-11-03 01:10 ·  中国 广东 佛山 广东睿江科技有限公司
荣誉版主
★★★★
batch fan
Credits 5,226
Posts 1,737
Joined 2006-03-10 00:38
20-year member
UID 51697
From 成都
Status Offline
Using the format of if not exist c:\ might be a bit simpler, right?
尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。
Floor 5 Posted 2006-11-03 02:10 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
if exist x:\ or if not exist x:\ is not stable enough in pure DOS. The thread starter didn't specify the running environment and then came up with a compromise method
第一高手 第二高手

Floor 6 Posted 2006-11-03 02:15 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 7 Posted 2006-11-04 03:58 ·  中国 四川 成都 电信
新手上路
Credits 6
Posts 2
Joined 2006-11-03 21:41
19-year member
UID 69442
Gender Male
Status Offline
Sweat. .. They are all strong people!!
Forum Jump: