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-11 04:19
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [fixed] How to tell whether a directory on another disk is duplicated? If duplicated, rename it! View 674 Replies 3
Original Poster Posted 2009-01-12 23:28 ·  中国 四川 泸州 电信
初级用户
Credits 54
Posts 27
Joined 2006-12-02 11:46
19-year member
UID 72370
Gender Male
Status Offline
There are two disks (for example D: and E:). Under their directories there are many games (in Chinese). Some of the game names are duplicated.
Now I want to add -OLD after the identical directories under D:\游戏\ (for example: *.* rename to *-OLD.*)
How should this be written?

[ Last edited by HAT on 2009-1-13 at 19:03 ]
Floor 2 Posted 2009-01-13 13:05 ·  中国 广西 南宁 电信
初级用户
Credits 23
Posts 17
Joined 2008-08-22 21:53
17-year member
UID 123905
Gender Male
Status Offline
You mean the same name in the same directory?? That's impossible, MS won't let you use the same name
Or do you mean the game directory names on drive D and drive E are the same??
Floor 3 Posted 2009-01-13 13:36 ·  中国 广西 南宁 电信
初级用户
Credits 23
Posts 17
Joined 2008-08-22 21:53
17-year member
UID 123905
Gender Male
Status Offline
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
HAT +2 2009-01-13 19:03
Floor 4 Posted 2009-01-13 16:31 ·  中国 四川 泸州 电信
初级用户
Credits 54
Posts 27
Joined 2006-12-02 11:46
19-year member
UID 72370
Gender Male
Status Offline
Forum Jump: