Summary: How do I strip the last 4 characters of a string? I've been trying to use substr, though since the length of what I want returned is variable, I don...
Summary: Hi Guys, I'm a newbie to batch programming. I had created a batch file to read a line from a text file. example: Hello world 1234 However i would like...
Summary: I have a large file of text, with exactly 34 characters on each line. I want to run a batch to remove the last 2 characters of each line so that I hav...
Summary: Yes, I agree, cmd.exe is powerfull too now, can do a lot of things, but with much more twisted lines of batch scripting than what is needed. But TCC m...
Summary: The program I am writing will ultimately FIND occurrences of predetermined strings from a text file (in this case the output of systeminfo) I can extr...
Summary: I am trying to write a batch file that will delete the first three characters from every line of a text file with no success. I am a newbie to this, ...
Summary: Hi, Im trying read in data from textfile into seperate string variables using a StreamWriter. I used readLine() to store each line, and substring to s...
Summary: I have a long (5000+ lines) list of lines with two columns, separated with semicolon. The words in first column are "standard" and they need to be fou...
Summary: Can anyone tell me how to SET a string from a text file in DOS. I need to run this in a batch file. The file contains just one line e.g. Calculated TT...
Summary: Can anyone help come up with a solution. I'm trying to simply parse the quotes from strings read in from a file. Each string starts and ends with a q...
Summary: I have a list of computer serial numbers and their corresponding asset tags (taglist.txt). The list can be arranged any way to make this task easier (...
Summary: @echo off setlocal EnableDelayedExpansion :For every file in current dir, for %%I in (*.dat) do ( call :check_ %%~nI :Remove "echo" from the below l...
Summary: Hi I need to find out how to query the last character in a string: Im querying if there is characters A or B or C as last char within string. scenario...
Summary: I have a txt file that is formated like this: BackupSet Name= CsComputer, ID= 1149451491216 BackupSet Name= MacBook, ID= 1225425991161 BackupSet Name=...
Summary: using batch to parse file, especially files with XML structure is just asking for trouble. The ideal method to parse HTML/XML files is to use a tool/p...
Summary: I am designing a website which provides a complex interface for data entry and then a report based on the data entered. The report is html, but is sen...
Summary: I third the 86 the trails motion. I got several javascript errors (unterminated string constant on line 4, character 232 on the first page, character...
Summary: Okay, I think I get what you're asking now. You've taken out the loop now...I don't know why you did that, but we'll put it back in. I don't have ti...
Summary: Hi Kasey, This response might be a little late, but for the sake of this unanswered question, here goes: Yes, you can use the wildcards to select spec...
Summary: Although your code probably compiles okay, it doesn't appear to be doing much of a useful function...It reads keyboard input 3 times...Is that what yo...
Summary: //There is a program that im working on that needs to have multiple subprograms; I need as much //help as possible. //*Somehow they need to be direct...
Summary: You can use the function strchr from string.h to do just that. char str[] = "abcdef", *p; if((p = strchr(str, 'c')) != NULL) *p = '!'; output: ab!def ...