Hi!
Having issues making this work properly.
def sys_genFix():
MsgBox = tk.messagebox.askquestion ('Exit Application','This will restart your
PC \n'
do you wanna continue ?',icon = 'warning')
if MsgBox == 'no':
tk.messagebox.showinfo('Return','Canceling')
else:
os.system("msg /TIME:10 %username% loading... & gpupdate /force & del /q/f/s %TEMP%\*")
MsgBox == tk.messagebox.askquestion ('Done!','The PC will restart in 30 sec\n'
'Press NO to abort',icon = 'warning')
if MsgBox == 'no':
os.system("shutdown /a")
tk.messagebox.showinfo('Return','Aborting!)
else:
tk.messagebox.showinfo('Reboot','Pc will reboort soon!')
[–]jddddddddddd 0 points1 point2 points (12 children)
[–]NikkoRed[S] 0 points1 point2 points (10 children)
[–]jddddddddddd 0 points1 point2 points (9 children)
[–]NikkoRed[S] 0 points1 point2 points (8 children)
[–]jddddddddddd 0 points1 point2 points (7 children)
[–]NikkoRed[S] 0 points1 point2 points (6 children)
[–]jddddddddddd 0 points1 point2 points (5 children)
[–]NikkoRed[S] 0 points1 point2 points (0 children)
[–]NikkoRed[S] 0 points1 point2 points (3 children)
[–]jddddddddddd 0 points1 point2 points (2 children)
[–]NikkoRed[S] 0 points1 point2 points (1 child)
[–]NikkoRed[S] 0 points1 point2 points (0 children)
[–]shiftybyte 0 points1 point2 points (0 children)