I am running the script through the debugger onto a Win2000 Pro machine.
The following is the code. Two methods are shown as I modified it to put the result into the nResult variable, which shows 0.
if (ExistsDir ( svResultPath ^ "\\test\\blank\\Medinote" ) = NOTEXISTS) then
nResult = (CreateDir ( svResultPath ^ "\\test\\blank\\Medinote" ));
if nResult < 0 then
gsErrorMessage = svResultPath ^ "\\TEST\\BLANK\\MEDINOTE";
goto ShowError;
endif;
endif;
// if (ExistsDir ( svResultPath ^ "\\test\\blank\\Medinote" ) = NOTEXISTS) then
// if (CreateDir ( svResultPath ^ "\\test\\blank\\Medinote" ) < 0 ) then;
// gsErrorMessage = svResultPath ^ "\\TEST\\BLANK\\MEDINOTE";
// goto ShowError;
// endif;
//endif;