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-27 03:50
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How to use DIR on malformed directories View 1,067 Replies 8
Original Poster Posted 2008-07-26 19:58 ·  中国 广东 韶关 电信
高级用户
★★★
CMD感染者
Credits 691
Posts 383
Joined 2008-05-23 00:38
18-year member
UID 119451
Gender Male
Status Offline
There is a file test.txt under the directory D:\123..\prn\nul\con
But at the root of D, “dir /s/b/a-d test.txt” cannot find this file
How can it be found?
Floor 2 Posted 2008-07-26 20:32 ·  中国 广东 广州 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
This doesn't seem to be a title for the batch file section... can't help it
Everyone thinks the batch file section is popular...
Floor 3 Posted 2008-07-26 22:17 ·  中国 广东 韶关 电信
高级用户
★★★
CMD感染者
Credits 691
Posts 383
Joined 2008-05-23 00:38
18-year member
UID 119451
Gender Male
Status Offline
Originally posted by 523066680 at 2008-7-26 08:32 PM:
This doesn't seem to be a title for the batch file section... can't help it
Everyone thinks the batch file section is popular...


Hehe~ I am rather foolish
I didn't feel there was anything inappropriate... at most it also belongs to the Q&A room..
Floor 4 Posted 2008-07-27 16:38 ·  中国 广东 广州 花都区 电信
中级用户
★★
Credits 233
Posts 117
Joined 2007-11-28 02:38
18-year member
UID 104005
Gender Male
Status Offline
I don't know what the OP wants to find this file for,
but TYPE can find this file

TYPE D:\123..\prn\nul\con\TEST.TXT

TYPE D:\123~1\prn\nul\con\TEST.TXT
Both lines above can find it
Floor 5 Posted 2008-07-27 16:51 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
What if you don't know where the full path is?

The OP wants to know how to find files under that kind of directory.


PS: It's in plp626's post.
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
Floor 6 Posted 2008-07-27 19:31 ·  中国 广东 韶关 电信
高级用户
★★★
CMD感染者
Credits 691
Posts 383
Joined 2008-05-23 00:38
18-year member
UID 119451
Gender Male
Status Offline
Originally posted by dslz666 at 2008-7-27 04:38 PM:
I don't know what the OP wants to find this file for,
but TYPE can find this file

TYPE D:\123..\prn\nul\con\TEST.TXT

TYPE D:\123~1\prn\nul\con\TEST.TXT
Both lines above can find it


My purpose is to get the path of a certain known file. At the root of drive D, “dir /s/b/a-d test.txt” can find the path of test.txt in normal directories, but it cannot find it in malformed directories.
Suppose that test.txt were a virus...... then ```` hehe
Floor 7 Posted 2008-07-27 19:39 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Use this software: http://xbeta.info/1exe1/find.rar
How to use it: when running it for the first time, click “CreateSnap”. After it finishes, you can search.
Floor 8 Posted 2008-07-28 13:21 ·  中国 广东 韶关 电信
高级用户
★★★
CMD感染者
Credits 691
Posts 383
Joined 2008-05-23 00:38
18-year member
UID 119451
Gender Male
Status Offline
Originally posted by tireless at 2008-7-27 07:39 PM:
Use this software: http://xbeta.info/1exe1/find.rar
How to use it: when running it for the first time, click “CreateSnap”. After it finishes, you can search.


Thanks, brother tireless, but it still can't find it, and besides I mainly do it through P
Floor 9 Posted 2008-07-28 15:50 ·  中国 广东 广州 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
I remember plp626 did quite deep research in this area... should probably look for his posts
Forum Jump: