Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have written a batch file [with all of your help, thank you] that changes my win logo everytime I boot up. What I would like to do is write an install batchfile so I can give this to my friends, the problem is I am calling Logoswap.bat from my autoexec.bat file, but I know many of my friends don't know how to edit it [safely anyway], how do I write a batchfile than can actually edit their autoexec.bat file, to put the line in it calling the Logoswap.bat file? I can write the batch file to install all the logos[5], install the Logoswap.bat [to C: drive] file, even backup their original autoexec.bat file[ to autoexec.old], but how do I enter the line "CALL C:\Logoswap.bat file" to their autoexec.bat through the install bat file??? It seems I need to have this batfile open up the autoexec, make the changes then save and exit..

You can do the following:
create an installation batch file autoinst.bat
contents: copy c:\autoexec.bat + c:\autoex-2.bat autoexec.batcreate autoex-2.bat
contents: call logoswap.batrun the autoinst.bat. then the contents of the autoex-2.bat (call function) will be added to the autoexec.bat.
You can merge any text (txt, asc, bat) based file this way.
greetings, Marvin

I am fairly new to Dos, browser I did not understand your tip, sorry I will study it a little more....marvin I implemented your tip and it did add the line to the file, but at the end of the line that was added was a black square, will this hurt the performance of the line?? Thank you both for your responses...you were both helpful..Thanx again

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |