Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Delete-a-file/FreeBASIC/delete-a-file.basic
Normal file
15
Task/Delete-a-file/FreeBASIC/delete-a-file.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
' delete file and empty sub-directory in current directory
|
||||
|
||||
Kill "input.txt"
|
||||
RmDir "docs"
|
||||
|
||||
' delete file and empty sub-directory in root directory c:\
|
||||
' deleting file in root requires administrative privileges in Windows 10
|
||||
|
||||
'Kill "c:\input.txt"
|
||||
'RmDir "c:\docs"
|
||||
|
||||
Print "Press any key to quit"
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue