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 09:08
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to find out the path of a file View 1,056 Replies 4
Original Poster Posted 2007-04-21 23:14 ·  中国 广东 阳江 阳春市 电信
初级用户
Credits 72
Posts 27
Joined 2007-04-02 08:27
19-year member
UID 83702
Gender Male
Status Offline
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.
Floor 2 Posted 2007-04-22 08:07 ·  中国 广东 阳江 阳春市 电信
初级用户
Credits 72
Posts 27
Joined 2007-04-02 08:27
19-year member
UID 83702
Gender Male
Status Offline
Does nobody know?
Floor 3 Posted 2007-04-22 08:24 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
It's in the forum, search for it.
欢迎你到批处理爱好者联盟QQ群:18023953
Floor 4 Posted 2007-04-22 08:35 ·  中国 广东 阳江 阳春市 电信
初级用户
Credits 72
Posts 27
Joined 2007-04-02 08:27
19-year member
UID 83702
Gender Male
Status Offline
Floor 5 Posted 2007-04-22 10:32 ·  中国 广东 广州 番禺区 电信
新手上路
Credits 12
Posts 5
Joined 2007-04-22 09:55
19-year member
UID 86070
Gender Male
Status Offline
dir /b /s filename

For example:
C:\>dir /b/s cmd.exe
C:\WINDOWS\system32\cmd.exe
Forum Jump: