Advertisement
ProzacR

run cli program over all files in folder

Jul 22nd, 2020
2,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. setlocal enableDelayedExpansion
  3.  
  4. set MYDIR=D:\Vytauto\Shared\methyl_transferases_docking4\010\0*.mol2
  5. for /F %%x in ('dir /B/D %MYDIR%') do (
  6.   echo %%x
  7.   babel %%x %%x.pdbqt
  8. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement