Guest User

Untitled

a guest
Feb 18th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. file = 'C:\Exe\First Version\filename.exe'
  2. os.system(file)
  3.  
  4. file = 'C:\Exe\First Version\filename.exe'
  5. os.system('"' + file + '"')
  6.  
  7. import subprocess
  8. file = 'C:\Exe\First Version\filename.exe'
  9. subprocess.call([file])
  10.  
  11. file = '"C:\Exe\First Version\filename.exe"'
  12. os.system(file)
  13.  
  14. file = 'C:\Exe\FirstV~1\filename.exe'
  15. os.system(file)
  16.  
  17. import subprocess, shlex
  18. mycmd='"C:\Program Files\7-Zip\7z" x "D:\my archive.7z" -o"D:\extract folder" -aou'
  19. subprocess.run(shlex.split(mycmd))
Add Comment
Please, Sign In to add comment