C series of powerful third-party command-line tool collections, all written by myself using VC++ 6.0, a very powerful tool collection. It has been released on the VeryBat and BatHome forums before, but it seems that it hasn't been reprinted here...
There are 7 third-party command-line tools in this collection, which are very good and powerful, and many functions are original...
Each tool in the collection has a folder, which contains exe and an explanatory batch file. Some tools are accompanied by one or two examples...
Cmos Version 3.0
This is what I consider the most powerful third-party tool I developed. It can make batch processing support the mouse, and the cursor can follow the mouse movement. When the mouse presses the specified key, it stops, and returns the coordinate of the command-line window where the mouse is pressed from errorlevel.
Cmos should be the second third-party tool after Wbat to support the mouse...
1. Support capture of left, middle and right mouse buttons
2. Support restricting the mouse to move only within the window when inputting with the mouse
3. Support automatic stop after N seconds and return coordinates
4. Support all code pages without changing the current code page
I have written many interactive batch processes such as games using Cmos, and the effect is very good
CIdo Version 3.0
This function is also very powerful, suitable for people who transform batch processing windows, making the window more gorgeous and powerful
1. Change and get the position of the window relative to the screen (move the window at will)
2. Set the state of the window (hide, minimize, maximize, restore, etc.)
3. Call the buzzer to make a sound (warning, prompt, error, etc.)
4. Pop up a dialog box (6 different styles, with 8 kinds of buttons such as OK, Cancel, Yes/No, Retry, etc., return different values)
5. Set the buffer size (can be changed back with mode con after changing the window size)
6. Set the size and position of the window display area (the size and position of the buffer displayed in the window)
7. Scroll the content of the window (buffer)
8. Get the width and height of the window
9. Get the screen resolution
10. Lift the window to the screen
Wow, it's killing me...
CKey Version 2.0
Designed for those who are not satisfied with choice. It not only supports letters, but also can support input of most keys on the keyboard such as Enter, Shift, Ctrl, Delete key, F1~F24, numeric keypad, arrow keys, etc.
1. Support judgment of almost all keys on the keyboard
2. Stop after reaching N seconds
The functions are not many, but it is enough for the expansion of choice (someone's test seems to say that it even supports the game controller)
Cimt Version 1.0
Can simulate keyboard and mouse operations. I used this to make a screen keyboard in batch processing...
1. Simulate operations of most keys on the keyboard (combination keys are not supported for the time being)
2. Simulate left, middle and right mouse button operations
3. Simulate mouse movement
The core code of this is the same as that used by CKey. If CKey really supports the game controller, then this also...
Colr Version 1.0
This is an extension of color and echox. Color can only change the color of the entire batch processing, and echox can only change the color of the currently output content. Colr can change the color of any content in the window (giving coordinates and length), and can also add an underline effect to the text (an accidental discovery)...
1. Change the color of content at any position in the buffer
2. Add an underline to the content at any position in the buffer
Of course, the color and underline can be removed with cls. In addition, the startup of this tool seems a bit slow, probably because too many header files are used...
CurS Version 1.0
These command-line tools are all a bit historical. At first, they were all written in C#, and later it was found that if the machine does not have Framework.Net 2.0 installed, it cannot run. It is very painful to re-develop in VC++ 6.0. Compared with C#, VC++ 6.0 has too little support for the command line. It takes a bunch of header files and APIs to do a simple command. It's painful...
Well, off the topic... This tool can change the current cursor position, thereby controlling the output of text. It is an indispensable tool for a good interface. Of course, many things can be done with the cursor. This cursor is not the cursor controlled by the mouse, but the flashing white bar when pause in the command line...
1. Change the position of the cursor
2. Show and hide the cursor
3. Change the size of the cursor
Cext Version 1.0
This is a tool made for the convenience of processing text in the buffer, but the function is really useless, and the practical value is not high...
1. Draw a box
2. Move the content of the buffer
3. Delete a line in the buffer
The practical value is indeed low. Originally, I was working on a function to read the content of the buffer into a variable, so as to reduce the number of times of using for, but I haven't done it well for a long time, so it hasn't been updated...
All these things in this series took me a long time to make. Everyone, give me a thumbs up, and by the way, leave your opinions.
PS: A new tool will be released soon, which is C×××. Haha, the specific name can't be revealed in advance, but the function can be said. It is a command-line screenshot software. It can take screenshots of the screen, command line and current focused window and save them automatically to files, saved in 32-bit bmp, the quality is not bad, but it is a bit large. It is a very practical tool. With CKey, hotkey screenshots can be done...
Click here to download
[ Last edited by defanive on 2009-1-19 at 19:49 ]
There are 7 third-party command-line tools in this collection, which are very good and powerful, and many functions are original...
Each tool in the collection has a folder, which contains exe and an explanatory batch file. Some tools are accompanied by one or two examples...
Cmos Version 3.0
This is what I consider the most powerful third-party tool I developed. It can make batch processing support the mouse, and the cursor can follow the mouse movement. When the mouse presses the specified key, it stops, and returns the coordinate of the command-line window where the mouse is pressed from errorlevel.
Cmos should be the second third-party tool after Wbat to support the mouse...
1. Support capture of left, middle and right mouse buttons
2. Support restricting the mouse to move only within the window when inputting with the mouse
3. Support automatic stop after N seconds and return coordinates
4. Support all code pages without changing the current code page
I have written many interactive batch processes such as games using Cmos, and the effect is very good
CIdo Version 3.0
This function is also very powerful, suitable for people who transform batch processing windows, making the window more gorgeous and powerful
1. Change and get the position of the window relative to the screen (move the window at will)
2. Set the state of the window (hide, minimize, maximize, restore, etc.)
3. Call the buzzer to make a sound (warning, prompt, error, etc.)
4. Pop up a dialog box (6 different styles, with 8 kinds of buttons such as OK, Cancel, Yes/No, Retry, etc., return different values)
5. Set the buffer size (can be changed back with mode con after changing the window size)
6. Set the size and position of the window display area (the size and position of the buffer displayed in the window)
7. Scroll the content of the window (buffer)
8. Get the width and height of the window
9. Get the screen resolution
10. Lift the window to the screen
Wow, it's killing me...
CKey Version 2.0
Designed for those who are not satisfied with choice. It not only supports letters, but also can support input of most keys on the keyboard such as Enter, Shift, Ctrl, Delete key, F1~F24, numeric keypad, arrow keys, etc.
1. Support judgment of almost all keys on the keyboard
2. Stop after reaching N seconds
The functions are not many, but it is enough for the expansion of choice (someone's test seems to say that it even supports the game controller)
Cimt Version 1.0
Can simulate keyboard and mouse operations. I used this to make a screen keyboard in batch processing...
1. Simulate operations of most keys on the keyboard (combination keys are not supported for the time being)
2. Simulate left, middle and right mouse button operations
3. Simulate mouse movement
The core code of this is the same as that used by CKey. If CKey really supports the game controller, then this also...
Colr Version 1.0
This is an extension of color and echox. Color can only change the color of the entire batch processing, and echox can only change the color of the currently output content. Colr can change the color of any content in the window (giving coordinates and length), and can also add an underline effect to the text (an accidental discovery)...
1. Change the color of content at any position in the buffer
2. Add an underline to the content at any position in the buffer
Of course, the color and underline can be removed with cls. In addition, the startup of this tool seems a bit slow, probably because too many header files are used...
CurS Version 1.0
These command-line tools are all a bit historical. At first, they were all written in C#, and later it was found that if the machine does not have Framework.Net 2.0 installed, it cannot run. It is very painful to re-develop in VC++ 6.0. Compared with C#, VC++ 6.0 has too little support for the command line. It takes a bunch of header files and APIs to do a simple command. It's painful...
Well, off the topic... This tool can change the current cursor position, thereby controlling the output of text. It is an indispensable tool for a good interface. Of course, many things can be done with the cursor. This cursor is not the cursor controlled by the mouse, but the flashing white bar when pause in the command line...
1. Change the position of the cursor
2. Show and hide the cursor
3. Change the size of the cursor
Cext Version 1.0
This is a tool made for the convenience of processing text in the buffer, but the function is really useless, and the practical value is not high...
1. Draw a box
2. Move the content of the buffer
3. Delete a line in the buffer
The practical value is indeed low. Originally, I was working on a function to read the content of the buffer into a variable, so as to reduce the number of times of using for, but I haven't done it well for a long time, so it hasn't been updated...
All these things in this series took me a long time to make. Everyone, give me a thumbs up, and by the way, leave your opinions.
PS: A new tool will be released soon, which is C×××. Haha, the specific name can't be revealed in advance, but the function can be said. It is a command-line screenshot software. It can take screenshots of the screen, command line and current focused window and save them automatically to files, saved in 32-bit bmp, the quality is not bad, but it is a bit large. It is a very practical tool. With CKey, hotkey screenshots can be done...
Click here to download
[ Last edited by defanive on 2009-1-19 at 19:49 ]

