Differences between revisions 43 and 60 (spanning 17 versions)
Revision 43 as of 2008-12-18 15:22:48
Size: 611
Editor: kevinnewman
Comment:
Revision 60 as of 2013-07-21 03:52:26
Size: 266
Editor: ip146
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
# cmd.py
# ^^^^^^
# Mimics the windows command line. Good if the system admin has locked it off.
# Made for Windows XP

import os

command = ""
wd = os.getcwd()
print "Shell Window Replacement by fatalGlory"
print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
print ""
while command != "exit":
    command = raw_input("" + wd + ">")
    if command.split(" ")[0] == "cd":
        try:
            os.chdir(command.split(" ")[1])
            wd = os.getcwd()
        except:
            print "Bad command or file name."
    else:
        cmd2 = os.popen(command)
        print cmd2.read()
I'm Lucretia and I live with my husband and our 3 children in Warrubullen, in the QLD south area. My hobbies are Shortwave listening, Driving and Meteorology.<<BR>>
<<BR>>
Feel free to visit my weblog; [[http://frasesconvite.com.br|frases de convite de 15 anos]]

I'm Lucretia and I live with my husband and our 3 children in Warrubullen, in the QLD south area. My hobbies are Shortwave listening, Driving and Meteorology.

Feel free to visit my weblog; frases de convite de 15 anos

FrontPage (last edited 2020-10-27 22:20:58 by albertosottile)