본문 바로가기
Dev/예제

C# SDelete

by 진림 2017. 10. 12.
Process p = new Process();
p.StartInfo = new ProcessStartInfo( "cmd", "/c sdelete -p 1 -s -z -q -a 'path/to/director' )
{ RedirectStandardOutput = true, UseShellExecute = false, CreateNoWindow = true };
p.Start(); string output = p.StandardOutput.ReadToEnd(); p.WaitForExit();

'Dev > 예제' 카테고리의 다른 글

Walrus  (0) 2018.06.28
XML2CSV  (0) 2017.11.24
read string from process  (0) 2017.11.18
read string Memorystream  (0) 2017.11.18
C# Read ProcessMemory  (0) 2017.10.12
Get Cookies  (0) 2017.10.11