Delete a file: Difference between revisions

→‎{{header|PowerShell}}: corrected code, couldn't possibly work before, also added the file system root part
m (omit TI-BASIC)
(→‎{{header|PowerShell}}: corrected code, couldn't possibly work before, also added the file system root part)
Line 258:
 
=={{header|PowerShell}}==
<lang powershell># possible aliases for Remove-Item: rm, del, ri
 
<lang powershell> DeleteRemove-Item input.txt
Remove-Item \input.txt # file system root</lang>
 
# Can also use the del alias for the Delete-Item cmdlet
del input.txt</lang>
 
=={{header|Python}}==
Anonymous user