|This is the folder/file structure:|
dirfolder test and the subfolder with name testing
subfolder contains hello.txt
DIRfolder contains text1.txt and text2.txt
Problem is that the batch finds to hello.txt but if i delete that one and wants to continue to text1.txt, thats the problem it can't find back to dir folder with text1 and text 2.txt
question 1 : how do i let the script go to dir after it was in subfolder and didnt find hello?
question 2 : How do i let the script continue to text2 if text1 fails?
This is what i got:
IF EXIST hello.txt. (
) ELSE text1.txt. (
) ELSE text2.txt (
Would be grateful if you helped me guys!