Summary: how can i know 1)how many bits are corresponding to length of a non-monospaced characters(let's say "i" and "m") 2)the position of first bit of every...
Summary: You seem to have two questions: 1. How to check if a file contains a string? FIND "string" nul if errorlevel=1 goto notfound if not errorlevel=1 goto...
Summary: Howdy all... What I am trying to do is marry two programs together. The first sends file path locations to a file in a continues string on a single l...
Summary: The problem is that along with the string of characters, that is, the filename itself, two characters more go to the file - the CR/LF characters, whic...
Summary: To find a string in the directory you are in: find /n /i "time" *.* To find a string in another directory: find /n /i "time" c:\misc\computer\util\*.*...
Summary: Does anyone know what to put in a batch file with an ECHO command that would emulate a user hitting CTRL-Y keys? When executing a command a prompt sc...
Summary: Hi all, Thanks for the advice to date. I know this is going to be a "real kludge" so perhaps I can supply a little more information. I have custom-ma...
Summary: I am failing to add an IF statement to a DOS batch file that I am using to email faxes files automatically. If a file exists continue and mail the fil...
Summary: Thanks for the input. I may have misrepresented my wishes, however. I do not need to hide/unhide during the same boot. My wish is to: 1. Unhide the...
Summary: The following command will output the number of lines from a certain file containing the string "[aec] 9527": FIND /c "[aec] 9527" anyfile It outputs ...
Summary: I used edit to look at vmm32.vxd. I did not save any changes but had to move the curser a long ways to the right to search the file for text strings. ...
Summary: Yes you can do that. Your logic will han on one file that is in use, where as mine will abort on that file and continue processing on all other files...
Summary: To be clearer, the "Find" command is defined as follows: "The find command searches files for the string or text that you specify" I need to find ever...
Summary: I wrote a program that would check up to the last 10 clusters for your string that you want to be replaced. I have not resolved the method of rewriti...
Summary: Hello, Miskva. I reckon you use Win98SE, but you didn't state that... Are you looking for a multi-OS solution? Here are two methods: FC file.ext nul |...
Summary: I think the old Norton Text Search could search the whole disk for which files contain which string. If you are only searching a single directory vers...
Summary: This script will do it: @echo off if "%1"=="GoTo" GOTO %2 %COMSPEC% /V /C %0 GoTo start goto eof :start set DIRCMD= for /F "tokens=*" %%I in ('dir/b *...
Summary: FOR command introduced in Ver 2.0 If used in batch file,use the following: FOR %%variable IN (set) DO comand If used at DOS prompt, use : FOR %variabl...
Summary: Hey All, Thanks in advance for any help. Is it possible to write a script in a DOS batch file that will read a text file for a string of characters,...
Summary: More precisely: 1. right click on shorcut 2. click on PROPERTIES 3. go on the PROGRAM tab 4. on the field named "batch file", put the string "CLS" Tha...
Summary: I have a directory with 10 *.xml files. I need to read all the files into a string. This should be the output: a.xml, b.xml, c.xml This is what I have...
Summary: Hello all, I'm working, among other developers, on codepage and keyboard layout support for FreeDOS (http://www.freedos.org) and I need as much ma...
Summary: If you were to locate a copy of IBM's PC DOS 2000 and use it instead, it has built in support for the Euro Currency Symbol per this IBM link. If you ...
Summary: is it just me or is everything you do in other languages alot easier than doing it in a bat file? what I'm doing is this... incrementing a variable a...