Add touch function to create new empty text file
This commit is contained in:
parent
5ec851fe11
commit
fc57d48814
@ -37,3 +37,11 @@ function rm {
|
||||
Invoke-Expression -Command "$Command $Path"
|
||||
}
|
||||
}
|
||||
|
||||
# Define touch to create a new empty text file
|
||||
function touch {
|
||||
Param (
|
||||
[string]$Path
|
||||
)
|
||||
New-Item -Type File $Path
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user