Summary: Using Batch file(.bat Dos based) I have to read a text file(temp.txt) containing data as the following: #,User,Password,Feed,Capacity Trusp,doit123,DN...
Summary: Hi Help me in this issue @echo on set Path=C:\Temp.txt for /f "eol=; tokens=1 delims=" %%i in (%Path%) do (set /a no=%%i+1) echo First %no% set no=...
Summary: I'm trying to make a relatively simple program but I can't remember what to do to get it to work. What I basically want it to do is read in informatio...
Summary: "I'm wondering what a DOS file name is. Is that the trashed version of an LFN that you get in DOS? Like good 'ol c:\progra~1 or what? The XP Pro OS ...
Summary: Ya, It was meant to be a joke...I keep forgetting to put in the smilies. I'm sure that the OP has other requirements, but here's 2 (1 liner) perl solu...
Summary: I need to be able to assign the contents of a *.txt or *.log file to a variable in a batch instance. 1. open batch file 2. creates x.txt file with...
Summary: Hey, I have almost no knowledge about programming and I have an old dos file that I need to "break" into. The company that made the software is of cou...
Summary: Judago, you're right. However, my test involved renaming a file, whereas yours involves creating a new file. It seems that when you create a new file ...
Summary: The explanation of delayed variable expansion is in the online help obtained by the SET /? command. Here it is: Delayed environment variable expansio...
Summary: Rajesh, type "set /?" at command prompt and try whether you can follow what it says. couple of pages down in the "set /?" it says: Finally, support fo...
Summary: Hi I'm must read from a binary file, and I want to do it byte for byte, unfortunately I don't understand this very well, but the reading seems to occu...
Summary: I am using the C function strtok to read a comma separated file. Here char seps[]="," If the field has a comma as a data, it is preceded by a "\", e.g...
Summary: Please help a newby trying to code first program. I want to be able to write data to a file, then read from the same file. I can manage this OK, but I...
Summary: I have 3000+ folders with unique names, each with several common subfolders within them. What I would like is a batch file that could look in a partic...
Summary: I'm looking to search through a text file for a string. Once I find this string, I want to read the string on the same line, after it. Let me expla...
Summary: I have a standing problem: Under a directory, I have many files with similar names for example 1998.EEO.SAC 1999.OTT.SAC 2000.CRLO.SAC . . . I want to...
Summary: With perl...You get a great language the isn't too picky with how you program. It's quick and dirty. It is used widely on the internet for cgi's (fo...
Summary: I need to write a program, that will read in an input file. The file is structured: Then here is the title Info that does with the title Next title....
Summary: ok I have a VB6 program and one function is to send a NET SEND. it does this by accessing the Shell and sending the command "NET SEND " & hostname & "...
Summary: Line 13 is actuall on one line so shouldn't need the ()s. I tried them and they don't help, neither does putting a CALL in front of !THECALL! (I know,...
Summary: hi Im learning C programming in linux and book gave a warning that when file is open for reading and writting the following restrictions apply: -Outpu...
Summary: You lacks good knowledge about variables and their usage. There are two kinds of variables in batch scripting: - environment variables, set up by the ...