Dim ss As ProcessStartInfo = New ProcessStartInfo() ss.UseShellExecute = True ss.WorkingDirectory = "C:\Windows\System32" ss.Verb = "runas" Process.Start("C:\Windows\System32\cmd.exe", "/k takeown /F """ & filepath.Text & """")
Dim ss As ProcessStartInfo = New ProcessStartInfo() ss.UseShellExecute = True ss.Arguments = "/k takeown /F """ & filepath.Text & """" ss.FileName = "c:\windows\system32\cmd.exe" ss.WorkingDirectory = "" ss.Verb = "runas" Process.Start(ss)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)