Summary: Hi I really need some help to do what I thought would be a simple task. I am a real n00b when it comes to programming, but have now spent many hours ...
Summary: Hi all, this question is asked in many website but no one have the answer. but i know that in this website their is allot of genius. so how want to h...
Summary: I need a specific batch to rename txt files to a format, using the data from the txt file itself. data within the files is for example: 0199999920090...
Summary: Is there a way to have a batch app open a file and read a line into a variable. ie: batchapp.bat ------------ open datafile var=read(datafile) echo ...
Summary: ok, that seems to do something, however my output is like this. batch echo's ren "file.txt" " .txt" it looks like its not reading the last four...
Summary: Here's my situation: Computer A controls a medical device which daily generates a report file. Computer A runs DOS 6.22 OS and is for safety reasons n...
Summary: since that's the case , I would suggest NOT to use batch for parsing ini files. Its tedious and cumbersome. You can use more advance string features f...
Summary: Such professional help is awarded with more(!) problem solving! My next problem is somewhat similiar. I am having workIDs.txt with lines such as: 0000...
Summary: Hi I am working on C++.i used the following program to read afile line by line.# #include <stdio.h> # # int main ( void ) # { # static const cha...
Summary: Hi there! Scripting a program for work but I am new to batch files and cannot get this segment to work. @echo off set N= for /f "tokens=* delims=" %%a...
Summary: Is it possible to achieve this same effect, but delete the contents of the line prior to the "\:" symbol. So for example, after running the batch on ...
Summary: I was wondering if there was a simple, one lined command to set the first (or last) line of a text file as a variable. "If it jams, force it. If it br...
Summary: Yes, you can send e-mails from a batch script by using a command line driven mail client, just as executing any ordinary XP command or application. Tr...
Summary: For completeness, I guess I should show a shorter command, but if you're processing a large file, this is less efficient because it uses more resource...
Summary: Just for kicks and giggles, and perhaps others: ===================================================== C:\>COPY /? Copies one or more files to another ...
Summary: hi thanks a lot for the very speedy reply. i didnt really explain myself too well. i have a lot of text files in a folder and every one has a header, ...
Summary: Greetings All! The following MS-DOS code will delete any specified files, in specified location, and older then a specified date. "Delete files by ol...
Summary: I have a demo CD that I want to give out to people. It's an HTML using MS agent. The voice for the character animation is stored in numerous WAV fil...
Summary: Ok, I am a comp sci major and I do work study for the admin computing office on campus. Normally I write database reports on our Unix server. My boss ...
Summary: thanx man Actually i am new to perl. but i know bash scripting well so i mixed up as per my task thanx for the code i can get to read the line by usi...
Summary: If I understand you want 1- Autoexec.bat executes till the Restart.com 2- The PC reboots 3- This time the Autoexec.bat has to start with the line just...
Summary: I'm trying to create a batch script that can read a single lined file containing a password (making a login script), than set the read string as a var...
Summary: That's a valid enough question, though I think it would have been better if you started a new topic rather than posting it as a reply to a previous qu...
Summary: '::I can't find out what "-l" does.' The usual directory lister in unix is ls ; the -l option makes it list sizes, dates, owners etc, as well as filen...
Summary: Many thanks ... you're my hero ;) I've made a few changes and maybe this way this great script by Mechanix2Go can help more people than only me... thi...