Jump to content

Delete a file: Difference between revisions

no edit summary
m (syntax highlighting fixup automation)
No edit summary
Line 390:
del \input.txt
rd /s /q \docs</syntaxhighlight>
 
=={{header|Beef}}==
<syntaxhighlight lang="csharp">using System;
using System.IO;
 
namespace DeleteFile {
class Program {
static void Main() {
File.Delete("input.txt");
Directory.Delete("docs");
File.Delete("/input.txt");
Directory.Delete("/docs");
}
}
}</syntaxhighlight>
 
=={{header|BQN}}==
29

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.