Skip to main content

Create Folder

Command description

Create a folder under the specified parent folder and save its full path.

Command Input Parameters

input parametersInput parameter typeDescription
Parent FolderstrDirectory in which to create the folder
New Folder NamestrName of the folder to create

Command Output Parameters

Output parametersOutput parameter typeDescription
New Folder PathstrThe full path to the new folder after creation

Edge Cases

  • The command reports an error if the parent-folder path is an existing file.
  • The parent folder is created automatically if it does not exist. If the new folder already exists, the command returns its path without reporting an error.

Generation Notes

  • Create a new folder in the parent directory and output the full path to the new folder.