1.

Solve : Dos and ">>" switch?

Answer»

Wondering if some one can shed some light on how to use the >> switch.
basically I'm USING this switch with the xcopy command so that a TXT file is generated to show me what FILES are being copied and at what time.
The problem that i'm having is that I need to manually delete those TXT files so that the batch file runn successfully again. I need to know if there is a way to over write those txt files while using the >> switch
this is what im using
Xcopy F:\VSS\*.* I:\VSS /S/y/r/d >>VSS.txt

THANKS in advance!The >> symbol is used to append DATA to an existing file, or create one if it doesn't exist. The > symbol is used to create a NEW file or write over an existing one.

The choice is yours. Choose wisely. Thanks that did the trick



Discussion

No Comment Found