-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [re-adding the list]
According to [EMAIL PROTECTED] on 5/20/2008 10:18 PM: | U:\>rm --version | rm (coreutils) 5.2.1 Thanks. This version is several years old, and typically means you downloaded rm as part of a poorly-maintained port. I would suggest that if you want to use GNU tools on Windows, that you use a different port; I'm particularly fond of cygwin (see cygwin.com). | I have resove my question by copy command instead of rm command. | If not exist z:\_%1.dll copy z:\%1 z:\_%1.dll | Instead of : | If exist z:\%1.dll rm z:\%1.dll z:\_%1.dll copy is a windows cmd builtin, which is why it has no problem understanding the \ syntax. It may also be that you merely wanted to use rm -f instead of plain rm, to ignore warnings about attempts to delete files that are not present. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg0DoEACgkQ84KuGfSFAYB2JACfepBATORgbyExIJOkhr3EXY86 CG4An2Ec9ovG9KOQLNAlOL7fVhSYHJcS =xfc0 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils