I'm guessing that you want to create it only if it doesn't already exist... [Smile]
code:
$folder=$strDrive + '\Test\Test123\Log\'+@WKSTA
If Exist ($folder) = 0 ; if it's not there
md $folder
If @error <> 0 ; if failed to make
? "Error making folder "+@error+" "+@serror
Endif
Endif

_________________________
We all live in a Yellow Subroutine...