static void Test4() { FileInfo tmpfile = new FileInfo(System.IO.Path.GetTempFileName()); FileHatchery.Engine.TestEngineQuery eng = new FileHatchery.Engine.TestEngineQuery(new DirectoryBrowser(), IntPtr.Zero); eng.RunCommand("open " + tmpfile.Directory); eng.RunCommand("select " + tmpfile.Name); eng.RunCommand("delete silent"); }
static void Test4() { FileInfo tmpfile = new FileInfo(System.IO.Path.GetTempFileName()); FileHatchery.Engine.TestEngineQuery eng = new FileHatchery.Engine.TestEngineQuery(new DirectoryBrowser(), IntPtr.Zero); eng.RunCommand("open " + tmpfile.Directory); eng.RunCommand("select " + tmpfile.Name); eng.RunCommand("delete silent"); }