Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Batch to parse out quote marks
Name: screen317 Date: February 28, 2009 at 17:54:33 Pacific OS: Windows Vista/XP Subcategory: Batch
Comment:
Hello,
Below are the contents of my current batch:
regedit /e "%cd%\check.txt" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" find /i "DisplayName" "%cd%\check.txt">check2.txt for /F "tokens=2 delims==" %%a in (check2.txt) do echo %%a>>check3.txt
I am trying to parse out the quotation marks surrounding each resultant entry, but cannot get it to work in practice. Does anyone have an idea for how to do this?
Summary: How do I parse a text file for MUlTIPLE words? I run a utility that outputs the results to a text file. However, due to the nature of how the utility reports files (it checks every file and then prod...
Summary: I need some help making a batch file than can parse a text file containing data on each line. At the same time, it needs to discard any "non-English" characters present. I'd like each line parsed to b...
Summary: Hello, I am trying to create a batch file to parse a log file, find some timestamps in a specific format, change the format of the timestamp, then display the timestamp in the command window. My curr...