I am trying to install a program but only if the folder exists, if it does not then stop install. So far I have this.
IF EXIST "C:\Program Files\Folder" \ (
IF NOT EXIST "C:\Program Files \Folder\" (
go to end
With the above the push just keep on running. Is the above correct? Any suggestions to sort it.
Please sign in to leave a comment.