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-08-13 03:04
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Batch file experts, please come in View 691 Replies 5
Original Poster Posted 2003-10-11 00:00 ·  新西兰
初级用户
Credits 115
Posts 4
Joined 2003-10-02 00:00
22-year member
UID 10635
Gender Male
Status Offline
I want to ask two questions:
First: how can I control a batch file so it can only copy files in 8.3 format?
Second: how can I make it not display the cpoy process while copying?

Thanks...
Floor 2 Posted 2003-10-11 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
23-year member
UID 7953
Gender Male
Status Offline
Only copy files in 8.3 format, be a bit more specific: do you mean don't copy anything longer than 8.3, or copy it into a ~x style name
Not showing the copy process while copying, copy a b >nul

// a source file b destination file
// > pipe symbol
// nul virtual device
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 3 Posted 2003-10-11 00:00 ·  新西兰
初级用户
Credits 115
Posts 4
Joined 2003-10-02 00:00
22-year member
UID 10635
Gender Male
Status Offline
Sorry, I'm not very clear on the details either. The following is my assignment
write a well documented, and tested DOS batch file, that will accept a file name and its extension (ie. in short 8.3 format for DOS) as the first command line parameter.
Floor 4 Posted 2003-10-11 00:00 ·  中国 香港
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 5 Posted 2003-10-11 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Older versions of DOS could only copy files in 8.3 format, but newer versions of DOS are not necessarily like that.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 6 Posted 2003-10-14 00:00 ·  中国 吉林 四平 中移铁通
初级用户
蝎蛇统领
Credits 280
Posts 35
Joined 2003-05-21 00:00
23-year member
UID 2294
Gender Male
Status Offline
What are you talking about? I can't understand any of it~
我是菜鸟,我要变成老鸟!
www.10.164.63.101.com
Forum Jump: