中国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-13 10:16
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » How to find out the path of a file
Printable Version  1,058 / 4
Floor1 hrduan268 Posted 2007-04-21 23:14
初级用户 Posts 27 Credits 72
Suppose there is a file called sndvol32.ex_ on the CD in E:\SIMPCHIN\WIN2000\ADV_SRV\I386. The problem now is that I only know for sure there is an sndvol32.ex_ somewhere on CD E, but I don't know the exact path of sndvol32.ex_. Under DOS, how can I find out the exact path of sndvol32.ex_?
If I use path_snd to stand for E:\SIMPCHIN\WIN2000\ADV_SRV\I386, then I need to use the following command:
expand path_snd\sndvol32.ex_ c:\windows\system32\sndvol32.exe
It is worth noting that sndvol32.ex_ may exist in multiple paths. By the way, drive E is the Windows 2000 installation CD.
Floor2 hrduan268 Posted 2007-04-22 08:07
初级用户 Posts 27 Credits 72
Does nobody know?
Floor3 htysm Posted 2007-04-22 08:24
高级用户 Posts 415 Credits 866
It's in the forum, search for it.
Floor4 hrduan268 Posted 2007-04-22 08:35
初级用户 Posts 27 Credits 72
Floor5 9154446 Posted 2007-04-22 10:32
新手上路 Posts 5 Credits 12
dir /b /s filename

For example:
C:\>dir /b/s cmd.exe
C:\WINDOWS\system32\cmd.exe
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023