Query: Pass variable to DOS bat file

Milas Omdalen omdalen at ix.netcom.com
Mon Sep 13 23:50:22 EDT 1999


With dos window in win98

Seeking to implement a rather long menu of zipped file choices. The
basic dos bat file does not handle large menu choices very well. But I
don't see a way to use the zip program in Python.

Can I call dos programs from within Python script?

Can I use a Python unzip program?

Can I pass the menu choice chosen in the Python script to the dos bat
file?

I see that I can call the Python script file from my bat file. Maybe
use Global variables? I thought of saving the variable in a file, an
awfully roundabout implementation.

TIA

- PUDDLES









More information about the Python-list mailing list