Debian Codegraph @

external/bdwgc/windows-untested/vc60/vc60crlf.cmd

raw
1 @echo off
2 rem This script will convert Unix-style line endings into Windows format.
3
4 for %%P in (*.ds?) do call :fixline %%P
5 goto :eof
6
7 :fixline
8 @echo on
9 if exist "%~1.new" del "%~1.new"
10 for /f %%S in (%1) do (
11 echo %%S>>"%~1.new"
12 )
13 ren %1 "%~1.bak"
14 ren "%~1.new" %1
15 goto :eof