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.
delete a line and data truncation
Name: Edof Date: April 9, 2009 at 09:11:08 Pacific OS: Windows 2000 Product: Dell / Poweredge server Subcategory: Batch
Comment:
when I use MORE or TYPE command in my Windows batch script to remove the first line from a text file like this:
type Filename.txt | find /v "FILEHEADER" > Newfile.txt
it would remove the first line. But it would also truncate any data after position 1024 on a line when it writes to the newfile. What can I do (or what's the best way) to prevent this truncation?
Summary: Ahha! Sorry, i missed a bit of code haha. Ok, on that other piece of code, where to confirm it says Goto YES This is the part for YES :YES FINDSTR /v /i "%find2%" < Database.txt > Database2.txt DE...
Summary: please help me on these problem. I have 2 files, one named output.txt and one named constraint.txt. I need to compare the contents of those files line by line....(contents are array like this: line1- ...
Summary: Hi, I am a beginner in Batch scripting but managed to write the piece of code to automate some stuff. It’s a little CRUDE method that I am following as of now. I am struck with some 3 simply issues...