From 8c2c70aa07a71ae3491fa6b020ab298c1166358d Mon Sep 17 00:00:00 2001 From: Igor Date: Sat, 18 Jan 2020 22:48:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BF=D1=83=D1=81=D0=BA=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D1=86=D0=B5=D1=81=D1=81=D0=B0=20=D1=81=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=B0=D0=BC=D0=B8=20=D0=B0=D0=B4=D0=BC=D0=B8?= =?UTF-8?q?=D0=BD=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...202\321\200\320\260\321\202\320\276\321\200\320\260.cs" | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 "\320\241\320\275\320\270\320\277\320\277\320\265\321\202\321\213/[\320\237\321\200\320\276\321\206\320\265\321\201\321\201\321\213]/\320\227\320\260\320\277\321\203\321\201\320\272 \320\277\321\200\320\276\321\206\320\265\321\201\321\201\320\260 \321\201 \320\277\321\200\320\260\320\262\320\260\320\274\320\270 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260.cs" diff --git "a/\320\241\320\275\320\270\320\277\320\277\320\265\321\202\321\213/[\320\237\321\200\320\276\321\206\320\265\321\201\321\201\321\213]/\320\227\320\260\320\277\321\203\321\201\320\272 \320\277\321\200\320\276\321\206\320\265\321\201\321\201\320\260 \321\201 \320\277\321\200\320\260\320\262\320\260\320\274\320\270 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260.cs" "b/\320\241\320\275\320\270\320\277\320\277\320\265\321\202\321\213/[\320\237\321\200\320\276\321\206\320\265\321\201\321\201\321\213]/\320\227\320\260\320\277\321\203\321\201\320\272 \320\277\321\200\320\276\321\206\320\265\321\201\321\201\320\260 \321\201 \320\277\321\200\320\260\320\262\320\260\320\274\320\270 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260.cs" new file mode 100644 index 0000000..6724d37 --- /dev/null +++ "b/\320\241\320\275\320\270\320\277\320\277\320\265\321\202\321\213/[\320\237\321\200\320\276\321\206\320\265\321\201\321\201\321\213]/\320\227\320\260\320\277\321\203\321\201\320\272 \320\277\321\200\320\276\321\206\320\265\321\201\321\201\320\260 \321\201 \320\277\321\200\320\260\320\262\320\260\320\274\320\270 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260.cs" @@ -0,0 +1,7 @@ +Process process = new Process(); +process.StartInfo.FileName = "cmd"; +process.StartInfo.Arguments = "/c for /F \"tokens=*\" %1 in ('wevtutil.exe el') DO wevtutil.exe cl \"%1\""; +process.StartInfo.Verb = "runas"; // запуск с правами администратора +process.StartInfo.CreateNoWindow = false;// поменять на true если не хотите видеть окно консоли +process.Start(); +process.WaitForExit();