internal void DeleteWindows10MetroApp(string appname) { ProcessUtil.RunPowerShell("-command \"Get-AppxPackage *" + appname + "* | Remove-AppxPackage\""); }
public static void DeleteFile(string filepath) { ProcessUtil.RunCmd("/c del /F /Q " + filepath); }