@tyeth: The question is about WinSCP scripting
Though you can call shell
mkdir
command. Not about shell mkdir
command.
Though you can call shell
mkdir
command using call
scripting command:
call mkdir -p many/levels/of/folders