Gentlemen,
i'm using a command that is supposed to check if a folder exists, if not, it should create it.
the problem is that my command is always trying to create that folder, so i'm getting an error saying : this folder already exists.
can someone show me please what is wrong with my command ?
vpath='c:\mynewfolder'
IF NOT DIRECTORY("vpath")
MD ("&vpath")
ELSE
?'ALREADY EXISTS'
ENDIF