Summary: When you open a file, you usually use a statement like: FILE *fp; fp = fopen("filename.txt","r"); That is storing a value in the variable 'fp'. That...
Summary: Here's the website where this block of code was found: http://www.microsoft.com/technet/pr... I'm not sure this helps explain a whole lot though. Sor...
Summary: ok..first of all i am sorry i didn't post them before, it was just that i didnt' have them in hand.....note:i created a data file for each program..fo...
Summary: This is becasue DOS treats a space in a file name as a delimiter. It stops looking after the space and ignore everything after it. Try enclosing the ...
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: This message was originally posted in the WinXP section. I would prefer to have a windows xp batch file to do the following, but someone told me to po...
Summary: Hi, I have a text file that has different data types in one line. for example the first line is string string int and I am searching the file for a ce...
Summary: ---Sci-Guy--- "I usually prefer just to be pointed in the right direction so I can try to figure it out myself. I'm just trying to learn VB and find i...
Summary: How do I use simple DOS commands (trying to create a batch script) to get the date from a file in the directory? I have looked, and there does not ap...
Summary: It would be more efficient to: - rename the original file - read the renamed file and write encrypted file to original file name - delete the renamed ...
Summary: The only way to do this easily is if your are using files with fixed length records and are able to access the line to change with Random access. You ...
Summary: hello, i have 2 text files, one is small (file_1: about 200 lines) and the other is fairly large (file2: 12 k - 20 k lines). file_1: tango 12 beta 256...
Summary: I am trying to get a batch file to read a .ini file with settings in it, then write those settings to the registry. The file looks like this: [Email S...
Summary: Hello So I am having a few issues with a school project. First is with my ReadWithScanner. It does not read in the file giving me a NullPointerExcept...
Summary: Hi! Mechanix2Go I had came up with the following solution but now it started to drive me mad as HITS is always set to 0. Could you explain what am I ...
Summary: Hi, I have a text file that has four lines of text as follows: Hello Planet Welcome Goodbye I have a batch file that I would like to read in each line...
Summary: I see two problems with your output. One, you're doing the same logic in two separate locations dependent on your output's location. That's a big no-n...
Summary: I have about 150 files moved to a specific folder on a nightly basis. From here, these files get loaded into the database. The file extension uses a d...
Summary: Ola Jimenez, I'm back at the end of a busy day to answer your questions and give you the script to do your job. First of all here the correct version ...
Summary: I'm a little unclear on this, why is the file read? Do you mean read the file names from a folder, then take the part of each file name that is conta...
Summary: Hi again. I want to create a batch file that adds a suffix onto a file name: "_09wdd", such that the file would read: filename_09wdd.* So I tried: @e...
Summary: At a command prompt, how does one search for a file, find all of its locations with file size and date for each location? If this cannot be done at th...
Summary: I need to search a directory of 75000 text files for any files containing a particular string. How can I search the files for the string and output a ...
Summary: Hi, I would like to take in variable from a text file and execute them in the batch file till it is over Below is the batch file that I use: @echo OFF...
Summary: hi evryone- i need to wirte a batch script that read the first line from a txt file (try.txt) and than take the first word from this line'and finelly ...