mkdir

Syntax

mkdir <directory>

Remarks

XML log element: mkdir

Advertisements:

Example

mkdir public_html

Converting to .NET Assembly

When converting script to .NET Assembly, map mkdir command to Session.CreateDirectory method.

Parameters mapping: Command parameter directory maps to method parameter path. You have to convert relative path to absolute path.

For example, following script snippet:

cd /home/martinp
mkdir private

maps to following PowerShell code:

$session.CreateDirectory("/home/martinp/private")
 
  scriptcommand_mkdir.txt · Last modified: by martin
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate