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.
Parsing strings in a file
Name: v_ajay31 Date: June 26, 2007 at 01:07:10 Pacific OS: win2k + sp4 CPU/Ram: 256
Comment:
Plese tell me what is the problem with code below, it is not giving any output, I need a number which is written next to the string "PORT" in myfile.txt file. For /F "eol=* tokens=2,3* delims= " %%a in (myfile.txt) Do ( IF "%%a"=="PORT" ( @echo %%b ) ELSE ( @echo %%a )
Summary: Hello, I am trying to search for a string in a file. What I would like to do is to search for some error string AFTER the line where today's date is printed. Today's date is printed in a format like t...
Summary: i have a file named (whatever) that contains of many lines but i want to change the third line (that contains " SMTP server=naeln.test.com " to "SMTP server= naeln.again.test.com" how do i do that us...
Summary: I want to write a script (or something) that will either email or place in a file, my ip address every time I connect to the internet via dial-up. How can I do this? ...