Delete a file: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
No edit summary
Line 390: Line 390:
del \input.txt
del \input.txt
rd /s /q \docs</syntaxhighlight>
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}}==
=={{header|BQN}}==