View Single Post
Old 12-12-2008, 02:54 PM   #97
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by koland View Post
Not sure how easy it would be in python, but it is a trivial excercise to do this using a command/batch file. Just as it is to do the same the mobidedrm. You end up needing two batch files, one processes each file in the directory, the second accepts the variable needed to define the filename/directory and calls the python script.
Actually one batch should do it.

The command would appear like:

For %%i in (*.pdb) Do command parameters.

Where command is the python script and the parameters are the standard arguments for the script. Use %%i wherever you need the file name.

For help open a cmd window and type: help for
DaleDe is offline   Reply With Quote