Please tell me how to check a directory is exist or not? If it not exist, then how to create?

Thanks.

[email protected]