Create a new directory at a given path. Without a beginning forward slash, the directory will be created in the user’s home directory. When using a forward slash at the beginning of a path, the path must be absolute. For example:

  • newFolder -> Create a directory called “newFolder” in your home directory
  • /pathToHomeDirectory/newFolder -> Create a new directory called “newFolder” in your home directory, inputting the absolute path
  • /differentPath/newFolder -> Create a new directory somewhere other than your home directory, using an absolute path
  • existingFolder/newFolder -> Create a new folder inside of an existing folder inside of your home directory. When creating a new folder in nested subfolders, these folders must already exist for the operation to complete successfully.

Inputs:

  • Directory Path (text) - The path at which to create the new directory