Advertisement
Guest User

Untitled

a guest
Apr 25th, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import os
  2.  
  3. error_message = 'runnig the script error'
  4. s = 'mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( '' + error_message +'', 10, 'Library Book Reissue', 64 );close()"'
  5. filehandle = open("c:\sc.bat","w")
  6. filehandle.write(s)
  7. filehandle.close()
  8. os.system('c:\sc.bat')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement