**Introduction of the topic:**
Starting DOS is not always just to enter different DOS environments. Sometimes DOS is just a preliminary preparation process, and then there will always be many different specific processes to enter.
After coming out of the CONFIG.SYS of DOS, we immediately enter autoexec.bat. The selection menu is not always needed. When not needed, we can start with the default option. Even sometimes, autoexec.bat is not necessary.
This gives rise to a need: LOGO and control interface. I mean, can we make a COM mini-program that stays in memory, such as PROLOGO.COM.
The设想 is as follows:
1. PROLOGO.COM is loaded into memory
2. PROLOGO.COM /U unloads from memory
3. Screen picture: PROLOGO.COM picfilename
With picfilename as the screen picture, covering up all DOS startup information. Below the startup picture, a progress bar similar to the Windows 2000 startup progress bar is displayed.
4. Progress bar: PROLOGO.COM /n, where n ranges from 0--9, then from A--F, totaling 16 steps
To achieve controllable step-by-step progress of the progress bar. PROLOGO.COM /0----PROLOGO.COM /F are inserted at different positions in the batch processing process in sequence. The progress bar steps forward with the position where PROLOGO.COM /n appears, thus achieving controllable step-by-step progress of the progress bar.
5. Hotkey setting: To achieve hotkey waiting and hotkey calling
After entering autoexec.bat, the startup menu (if any) is covered by the hotkey of PROLOGO.COM, waiting for x seconds (the value of x is determined by the menu command in autoexec.bat, and the default is 3 seconds if there is no menu). Within these x seconds, all keys except the hotkey are blocked. The hotkey has no action, and the system starts with the default startup item in autoexec.bat. When the hotkey has an action, the LOGO is removed, and the menu in autoexec.bat is called for selection. At the same time, PROLOGO.COM is unloaded from memory, and subsequent commands such as PROLOGO.COM /n are invalid.
Calling parameters and format of PROLOGO.COM:
PROLOGO.COM
PROLOGO.COM without parameters loads PROLOGO.COM into memory
/U unloads PROLOGO.COM from memory
picfilename: The LOGO picture to be called. When this parameter is omitted, the Win98 blue sky and white clouds picture in the system file is called
batchname: The batch file to be called. When this parameter is omitted, autoexec.bat is called
/0 starts to display the progress bar, ends hotkey response, and blocks the keyboard
/1--/F controls the progress of the progress bar advance (/F completes the progress bar advance and realizes the function of /U)
Recognition of file names:
Identified automatically by PROLOGO.COM according to the file extension. Only one or two types of picture files are supported, and only bat and cmd types of batch files are supported.
In this way, PROLOGO.COM realizes multiple general basic functions such as hotkey calling waiting, picture LOGO loading, and controllable step-by-step display of the progress bar. Calling with parameters can automatically realize many important maintenance, repair and other complex functions. It is very convenient to call the hotkey. When not needing these complex functions, it can still start normally according to the batch processing.
There are two drawbacks: one is that it will occupy some memory, and the other is that the hotkey waiting will delay the startup speed by a few seconds.
In which position should this file be loaded? It is best to load it in config.sys. If it is not loaded in config.sys, the hotkey calling function is lost, but it can still be loaded in autoexec.bat to realize the remaining functions.
Are there any other general functions? Please give pointers and supplements.
Please experts use their own unique skills to write this program. I estimate that such a program will be very popular. Friends who agree with this development idea, please take a hand and lift the post.
Finally, I hope the forum moderator supports and participates in the development of this program.
I have been on this forum for a very short time, and my level is very poor. I have studied many posts on the forum these days and have a feeling of finding a home. There are fewer and fewer people around who understand DOS. I always feel that I have been abandoned by Microsoft and DOS together. This time I finally found the home of DOS.
I sincerely hope that everyone will give me more guidance and advice.
[ Last edited by bootp on 2006-12-4 at 04:55 PM ]
Starting DOS is not always just to enter different DOS environments. Sometimes DOS is just a preliminary preparation process, and then there will always be many different specific processes to enter.
After coming out of the CONFIG.SYS of DOS, we immediately enter autoexec.bat. The selection menu is not always needed. When not needed, we can start with the default option. Even sometimes, autoexec.bat is not necessary.
This gives rise to a need: LOGO and control interface. I mean, can we make a COM mini-program that stays in memory, such as PROLOGO.COM.
The设想 is as follows:
1. PROLOGO.COM is loaded into memory
2. PROLOGO.COM /U unloads from memory
3. Screen picture: PROLOGO.COM picfilename
With picfilename as the screen picture, covering up all DOS startup information. Below the startup picture, a progress bar similar to the Windows 2000 startup progress bar is displayed.
4. Progress bar: PROLOGO.COM /n, where n ranges from 0--9, then from A--F, totaling 16 steps
To achieve controllable step-by-step progress of the progress bar. PROLOGO.COM /0----PROLOGO.COM /F are inserted at different positions in the batch processing process in sequence. The progress bar steps forward with the position where PROLOGO.COM /n appears, thus achieving controllable step-by-step progress of the progress bar.
5. Hotkey setting: To achieve hotkey waiting and hotkey calling
After entering autoexec.bat, the startup menu (if any) is covered by the hotkey of PROLOGO.COM, waiting for x seconds (the value of x is determined by the menu command in autoexec.bat, and the default is 3 seconds if there is no menu). Within these x seconds, all keys except the hotkey are blocked. The hotkey has no action, and the system starts with the default startup item in autoexec.bat. When the hotkey has an action, the LOGO is removed, and the menu in autoexec.bat is called for selection. At the same time, PROLOGO.COM is unloaded from memory, and subsequent commands such as PROLOGO.COM /n are invalid.
Calling parameters and format of PROLOGO.COM:
PROLOGO.COM
PROLOGO.COM without parameters loads PROLOGO.COM into memory
/U unloads PROLOGO.COM from memory
picfilename: The LOGO picture to be called. When this parameter is omitted, the Win98 blue sky and white clouds picture in the system file is called
batchname: The batch file to be called. When this parameter is omitted, autoexec.bat is called
/0 starts to display the progress bar, ends hotkey response, and blocks the keyboard
/1--/F controls the progress of the progress bar advance (/F completes the progress bar advance and realizes the function of /U)
Recognition of file names:
Identified automatically by PROLOGO.COM according to the file extension. Only one or two types of picture files are supported, and only bat and cmd types of batch files are supported.
In this way, PROLOGO.COM realizes multiple general basic functions such as hotkey calling waiting, picture LOGO loading, and controllable step-by-step display of the progress bar. Calling with parameters can automatically realize many important maintenance, repair and other complex functions. It is very convenient to call the hotkey. When not needing these complex functions, it can still start normally according to the batch processing.
There are two drawbacks: one is that it will occupy some memory, and the other is that the hotkey waiting will delay the startup speed by a few seconds.
In which position should this file be loaded? It is best to load it in config.sys. If it is not loaded in config.sys, the hotkey calling function is lost, but it can still be loaded in autoexec.bat to realize the remaining functions.
Are there any other general functions? Please give pointers and supplements.
Please experts use their own unique skills to write this program. I estimate that such a program will be very popular. Friends who agree with this development idea, please take a hand and lift the post.
Finally, I hope the forum moderator supports and participates in the development of this program.
I have been on this forum for a very short time, and my level is very poor. I have studied many posts on the forum these days and have a feeling of finding a home. There are fewer and fewer people around who understand DOS. I always feel that I have been abandoned by Microsoft and DOS together. This time I finally found the home of DOS.
I sincerely hope that everyone will give me more guidance and advice.
[ Last edited by bootp on 2006-12-4 at 04:55 PM ]
