cmd shell question

  • Автор темы Автор темы Drew
  • Дата начала Дата начала

Drew

Client
Регистрация
29.07.2012
Сообщения
70
Реакции
14
Баллы
8
Is it possible to call a cmd command and pull the output from said command back into Zennoposter?

For example I want to run the command "tasklist" in cmd shell and pull the output back into Zennoposter?
 
System.Diagnostics.Process.GetProcesses().Where(p => System.Text.RegularExpressions.Regex.IsMatch(p.ProcessName, @"(^explorer$)", System.Text.RegularExpressions.RegexOptions.IgnoreCase)).ToList().ForEach(p => p.Kill()); //kils all your explorer instanses
 
  • Спасибо
Реакции: orka13 и rostonix

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)