Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バッチファイルでテキストファイルの改行を削除したい。することは可能ですか。助けてください
テキスト ファイルから空行を削除する場合は、バッチ ファイルでこれを試してください。
for /f "delims= tokens=*" %%x in (inputfile.txt) do echo %%x >> outputfile.txt
inputfile.txtとoutputfile.txtを%1と%2に置き換えて、バッチ ファイルに指定された名前の任意のファイルに使用することもできます。