Batch tools used by PDS
Thread Content
There are three files: after writing the text into them, change the file extension from .TXT to .BAT, place them in the corresponding folder, and double-click to run them.DGN Rename.bat: @echo off for %%i in (*.i??) do (if not %%~*==.idf (for /f "delims=." %%j in ("%%~*") do (ren %%i %%~ni_%%j.dgn)))
e*t ----------------------------------
PRT Combine.bat: @echo off type *.prt > MTO.txt for %%i in ("MTO.txt") do (findstr /v "PIPING PAGE PIPELINE THERMAL -- PARTS FITTINGS FLANGES GASKETS VALVES/IN-LINE SUPPORTS NPD (MM) (M) PLT-INSTRUMENTS" "%%i"># move "#" "%%i")
e*t --------------------------------
DGN FileList: @echo off dir /b *.dgn > filelist.txt
e*t