Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Remove next line from a .txt file
Name: ollivier Date: March 4, 2009 at 10:34:37 Pacific OS: Windows XP Subcategory: Batch
Comment:
does any body know how to remove "new line" using a .bat file
It depends on the file's size, i.e. if your file is of limited size as you posted and anyway no more than, say, 1024 bytes or so, then @echo off & setlocal EnableDelayedExpansion set line= for /F "delims=" %%j in (file1.txt) do set line=!line!%%j echo.%line%> file2.txt :: End_Of_Batch
Summary: Hello guys. I am having trouble with my script. I need to get all lines lines to show from a text file. What I have is a chat script, that you can chat to people that use the same server as you (mainl...
Summary: Hi, Is it possible to delete x number of lines from a CSV file using a batch file ? What I have is 2 CSV files with a Log of temperatures from an AirCon unit. The first is an older file contain severa...
Summary: I am trying to delete blank lines from a text file when executing my batch file. I used the code found on this site @Echo off For /F "tokens=1 delims=" %%A in (c:\orig.txt) Do Echo %%A >> c:\new.tx...