I am trying this and can not get it to work ? Get datareal\copiesdonotdelete.txt was unexpected at this time.
rem @echo off
if exists datareal\copiesdonotdelete.txt goto DoFunction1
Goto DoFunction2
Exit
:DOFunction1
rename data datatemp
rename datareal data
rename datatemp datacopyfiles
Echo Done
Exit
:DOFunction2
rename data datatemp
rename datacopyfiles data
rename datatemp datareal
Echo Done
Exit
Its exist not exists
if exist datareal\copiesdonotdelete.txt goto DoFunction1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With