[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug report : about rm command
From: |
Etienne Buira |
Subject: |
Re: bug report : about rm command |
Date: |
Wed, 21 May 2008 10:07:55 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
On Wed, May 21, 2008 at 11:14:55AM +0800, address@hidden wrote:
> Thanks for you rapid response.
>
> My rm command use background:
> I use it in a cpy.bat file , which is invoked by VC++ 6.0 post build
> command.(per build , dll and pde file will be copy to a special directory,
> but the original file should be backup for possible restore reason)
>
> ENV : XP sp2 professional . window english version.
>
> Z: is a network driver , I have full access privilege.
> The cpy.bat script content::
> if exist z:\%1.dll rm z:\%1.dll z:\_%1.dll
> copy /y %1.dll z:\
> copy /y %1.pdb z:\
> copy /y %1.sbr z:\
>
>
> the line "if exist z:\%1.dll rm z:\%1.dll z:\_%1.dll " always fails, even I
> test it in CMD method. Example :
> Start -> run -> cmd
> D:
> rm c:\aa.dll c:\_aa.dll
Why not being consistant and use the DOSish "del" command instead?