stupid problem with script
Posted: 13 May 2014 10:20
i have one script with 2 functions:
backupto "D:\apps\abc\", C:\efr\augu\augu\user\current\AppData\Roaming\abc\updates.dat|C:\efr\augu\augu\user\current\AppData\Roaming\abc\gggg.exe", 2, 0, 0, 0, 0, 0, 0; delete 0,0, "D:\ururs\oubis\sismgf\*.*"; run """%ComSpec%"" /c reg delete ""HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall"" /f", , 0, 1;
my problem is the key is not deleted! but if run the script with only run """%ComSpec%"" /c reg delete ""HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall"" /f", , 0, 1;
work correctly! why this??
backupto "D:\apps\abc\", C:\efr\augu\augu\user\current\AppData\Roaming\abc\updates.dat|C:\efr\augu\augu\user\current\AppData\Roaming\abc\gggg.exe", 2, 0, 0, 0, 0, 0, 0; delete 0,0, "D:\ururs\oubis\sismgf\*.*"; run """%ComSpec%"" /c reg delete ""HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall"" /f", , 0, 1;
my problem is the key is not deleted! but if run the script with only run """%ComSpec%"" /c reg delete ""HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall"" /f", , 0, 1;
work correctly! why this??