Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from os import getcwd, startfile
- from shutil import make_archive
- if not (getcwd().endswith("Call of Duty 4")): #Covers both CD and Steam paths
- print "Place this file in the Call of Duty 4 root-directory"
- raise SystemExit
- #Backup
- make_archive("backup-players","zip","players")
- #Start
- startfile("iw3mp.exe")
Advertisement