|
|
using System;
| using System.IO;
|
| class MainClass {
| static void Main(string[] args) {
| if (args.Length < 1) {
| Console.WriteLine("Specify file path");
| return;
| }
| try {
| File.Delete(args[0]);
| Console.WriteLine("Done");
| } catch(Exception ex) {
| Console.WriteLine(ex.Message);
| }
| }
| }
|
|