Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autoexec Appending

Status
Not open for further replies.

PeterL

IS-IT--Management
Oct 30, 2000
129
0
0
US
I need to append a line to users local autoexec.bat file without losing any of their current settings. Any thoughts on how I can do this?
Thanks
 
Go to start>run and in open, type msconfig hit ok or enter.
Click ont he autoexec.bat tab and do what you need to do.
If the Os is win95, find the autoexec.bat file in dos mode and type at the prompt, edit autoexec.bat and edit the line you need

fedto[cheers]
 
How do you wnat to do it? Edit , batch file, or manually copy.
Batch method would be:
rename autoexec.bat autoexec.old
copy autoexec.old+newline.bat autoexec.bat

Or is this something more complex that I missed in the reading?

All the settings set up with autoexec.bat are running when AE is finished loading. And the file can be manipulated forever without affecting anything until the next boot. Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
Note would be better than MSCONFIG for this.
You can do this while the user is connected
as long as he or she do not boot while you are makeing
the changes. And even if they do it will not hurt
anything. I would just copy over the autoexec
to your PC make the change then copy back over.
Make a backup of the autoexec file first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top