Create a new file in the current directory
Version : 1.0
File Name : touch.ps1
Author : Adewale Azeez - iamthecarisma@gmail.com
Date : March-26-2020
Creates an empty file in the current working directory.
touch [[-FileName] <String>] [<CommonParameters>]
the name of the file to create
attr |
value |
---|---|
Required? |
false |
Position? |
1 |
Default value |
|
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
System.String
touch file.txt
Creates the file file.txt in the current folder