中国DOS联盟论坛

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-27 04:51
47,812 topics / 349,912 posts / today 2 new / 48,264 members
其它操作系统综合讨论区 » How to use DIR on malformed directories
Printable Version  1,069 / 8
Floor1 radem Posted 2008-07-26 19:58
高级用户 Posts 383 Credits 691
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?
Floor2 523066680 Posted 2008-07-26 20:32
银牌会员 Posts 1,133 Credits 2,362
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...
Floor3 radem Posted 2008-07-26 22:17
高级用户 Posts 383 Credits 691
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..
Floor4 dslz666 Posted 2008-07-27 16:38
中级用户 Posts 117 Credits 233
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
Floor5 slore Posted 2008-07-27 16:51
铂金会员 Posts 2,478 Credits 5,212
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.
Floor6 radem Posted 2008-07-27 19:31
高级用户 Posts 383 Credits 691
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
Floor7 tireless Posted 2008-07-27 19:39
银牌会员 Posts 1,122 Credits 2,025
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.
Floor8 radem Posted 2008-07-28 13:21
高级用户 Posts 383 Credits 691
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
Floor9 523066680 Posted 2008-07-28 15:50
银牌会员 Posts 1,133 Credits 2,362
I remember plp626 did quite deep research in this area... should probably look for his posts
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023