On Wed, May 21, 2008 at 11:14:55AM +0800, [EMAIL PROTECTED] 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? _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils