Skip to content

Instantly share code, notes, and snippets.

@u0078867
Created November 8, 2017 07:51
Show Gist options
  • Save u0078867/852105699c6fee6a617f2e7c8814ad53 to your computer and use it in GitHub Desktop.
Save u0078867/852105699c6fee6a617f2e7c8814ad53 to your computer and use it in GitHub Desktop.
Convert Telemed TVD files to DICOM cine
:: works only with version 3.4.3+
@ECHO OFF
FOR %%f IN (.\inputs\*.tvd) DO (
echo converting %%f ...
EchoWave %%f -minimize -save_cine dcm_jpeg outputs\%%~nf.dcm -exit
)
echo done!
:: works only with version 3.6.0+
@ECHO OFF
echo converting files ...
EchoWave -minimize -convert_directory ".\inputs" tvd dcm_cine -exit
echo moving files ...
move .\inputs\*.dcm .\outputs
echo done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment