I have the following script
I want to go to :MENU if k:\dtsc does not exist
This script does not go to the menu.
Can you tell me how to update this line?
robocopy "c:\test" "k:\dtsc" /MIR /xf desktop.ini /e /np /tee /ndl
if not exist k:\dtsc GOTO :MENU
Thanks in advance.
If not exist command
Moderator: DosItHelp
Re: If not exist command
You have not shown us enough code to make any definitive solution to your problem.
Not understanding why you are checking it after the robocopy command.
Not understanding why you are checking it after the robocopy command.