Quote:
Originally Posted by 55kevy
Code:
erdr2pml.py book.pdb "my name" ccn
And it worked! So now I just have to tackle the other 300 titles.
|
Then it is a good idea to create a batch file for that. I'm not an expert in that, but the following should work:
Code:
for %f IN (*.pdb) do call erdr2pml.py %f "name" ccn
or something like that:
Code:
for /f %%a IN ('dir /b *.pdb') do call erdr2pml.py %%a "name" ccn
The /f flag is used to return filenames (not directories).
"dir /b *.pdb" returns a bare directory listing (no filesize, attributes, etc.) with filenames that match the *.pdb pattern.
"%%a" is our variable.