Search found 1 match

by handsomed
27 Nov 2008 10:06
Forum: DOS Batch Forum
Topic: xcopy + secure del
Replies: 1
Views: 5885

xcopy + secure del

I have this code:

xcopy.exe /v/y/e "BlackBerry\pictures\*.*" "I:\Photos\*.*"
del.exe /q/s "BlackBerry\pictures\*.*"


I'd like to delete only in case the xcopy command ends successfully, otherwise show a error message

Any ideas?