Not really web related...
TMGB
bennettt at am.appstate.edu
Wed Jun 10 18:22:55 EDT 1998
Okay, Never mind my second reply, it just dawned on me any other changes
would be overwritten every reboot. I've got an executable I wrote that
takes as a command line parameter the text file and text you want to search
for and deletes the whole line. It would be easy enough to add a third
parameter for a replacement line. I'll have the C source and DOS
executable available from my webpage soon. I'll mail the list for anyone
interested in using it.
Thomas
Jim Richards wrote:
> I guerss I should've made myself a little more clear. I forgot to
> mention that I wanted to try not to copy a "protected" version
> everytime the machine boots. The only reason I do not want to do it
> this way is because some of our software updates modify the win.ini
> file.
>
> > Does anyone know of a way of writing a batch file or using a DOS
> > program that can search and replace a portion of a text file
> > automatically? Example: Upon booting a Win95 machine, automatically
> > running a batch file/program that changes the wallpaper settings in
> > the win.ini back to system default. Any help would be greatly
> > appreciated...Thanks.
> >
> >
>
> {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
> Jim Richards
> Systems Administrator
> Naperville Public Libraries Voice: (630)961-4100 x241
> 200 W. Jefferson Ave. Fax: (630)961-4117
> Naperville, IL 60540-5374
> {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
--
-------------------------------------------------------------------------
Thomas McMillan Grant Bennett Appalachian State University
Computer Consultant II University Library
bennettt at am.appstate.edu
http://www.library.appstate.edu/admin/
Voice: 704 262 2797 FAX: 704 262 3001
In librarianship--as elsewhere--the quality of service is not measured by
the number of complaints received
More information about the Web4lib
mailing list