@ECHO OFF PAUSE IF EXIST "C:\Program Files\NexphaseV6\ECF" ( ECHO Directory exists! PAUSE ) ELSE ( MKDIR "C:\Program Files\NexphaseV6\ECF" ECHO Directory made! ) PAUSE When I run the above batch file I always get the opposite results of what I expect.
So if the directory does exist, it says "Directory Made!", and if it doesn't exist, it says "Directory Exists!"
It's basically the wrong way round - Why is this?