C\

From , 4 Years ago, written in C#, viewed 54 times.
URL https://pastebin.vip/view/ebad33b3
  1. using System;
  2. using System.IO;
  3. class Class1 {
  4.     static void Main(string[] args) {
  5.         string[] cla = Environment.GetCommandLineArgs();
  6.         if (cla.GetUpperBound(0) == 2) {
  7.             FileInfo fi = new FileInfo(cla[1]);
  8.             fi.MoveTo(cla[2]);
  9.             Console.WriteLine("File Created : " + fi.CreationTime.ToString());
  10.             Console.WriteLine("Moved to     : " + cla[2]);
  11.         } else
  12.             Console.WriteLine("Usage: mv <source file> <destination file>");
  13.     }
  14. }
  15. //csharp/7651

Reply to "C\"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website