0

Windows XP cmd 会话

为什么 cd P* 失败并显示消息“该进程无法访问该文件,因为它正被另一个进程使用。” ? cd Pr* 按预期工作。

C:\>dir
 Volume in drive C has no label.
 Volume Serial Number is C8D7-D7A3

 Directory of C:\

01/09/2012  10:52 AM               483 aclient.cfg
08/18/2011  03:04 PM                 0 AUTOEXEC.BAT
08/18/2011  03:04 PM                 0 CONFIG.SYS
01/13/2012  01:09 PM    <DIR>          cygwin
08/18/2011  03:16 PM    <DIR>          dell
01/11/2012  10:53 AM    <DIR>          Documents and Settings
08/18/2011  03:19 PM    <DIR>          Intel
08/19/2011  10:18 AM    <DIR>          oracle
03/26/2012  02:09 PM    <DIR>          Program Files
03/29/2012  02:53 PM    <DIR>          Quarantine
03/29/2012  03:43 PM    <DIR>          WINDOWS
               3 File(s)            483 bytes
               8 Dir(s)  233,362,567,168 bytes free

C:\>cd P*
The process cannot access the file because it is being used by another process.

C:\>cd Pr*

C:\Program Files>
4

1 回答 1

0

Adir /a将揭示一个pagefile.sys导致你认为你正在做的事情和 shell 试图做的事情之间的冲突的原因。shell 将评估第一个命名的东西,从 ap 开始并尝试将目录更改为它(即使它不是目录)。

于 2012-03-30T16:28:45.360 回答