Delete a file: Difference between revisions
no edit summary
Thundergnat (talk | contribs) 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}}==
|