SharpUpdate
SharpUpdate copied to clipboard
cmd code for XP
Following codes not workig in windows XP
string argument_start = "/C choice /C Y /N /D Y /T 4 & Start \"\" /D \"{0}\" \"{1}\"";
string argument_update = "/C choice /C Y /N /D Y /T 4 & Del /F /Q \"{0}\" & choice /C Y /N /D Y /T 2 & Move /Y \"{1}\" \"{2}\"";
string argument_update_start = argument_update + " & Start \"\" /D \"{3}\" \"{4}\" {5}";
string argument_add = "/C choice /C Y /N /D Y /T 4 & Move /Y \"{0}\" \"{1}\"";
string argument_remove = "/C choice /C Y /N /D Y /T 4 & Del /F /Q \"{0}\"";
Found commad for Delete
"cmd.exe", "/C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del "