XAntares Posted August 25, 2010 Report Share Posted August 25, 2010 Hello, What exaclty means command xor ? I will used it to copy a file from one folder in another folder. If file with date-k exist this file should be copy to destination folder If file not exist file date should be copy to destination folder. example Place in variable T1=Day of Week 3, T7=date (dd.MM.yyyy): if Variable %T1% does not contain Monday if file exist c:\file_%T7%-k.xls copy file_%T7%-k.xls new file D:\.... (destination folder) else copy C:\file_%T7%.xls new file D:\..... (destination folder) end if end if is it possible to change the two if-commands with XOR ? Greetings XAntares Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.