os.system commands in CGI on IIS?

Jason Orendorff jason at jorendorff.com
Wed Dec 19 17:18:18 EST 2001


> os.system("copy c:\a.txt c:\b.txt")

Try this:
  os.system("copy c:\\a.txt c:\\b.txt")

As in C, Java, or Perl,
\a is a beep; \b is a backspace; and \\ is a backslash.

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list