mira, con tiny c compila este código que hice:
tcc.exe show.c
show.c
#include <windows.h>
int main()
{
typedef int (__stdcall *MYPROC)(DWORD);
HANDLE handleSalida;
CONSOLE_CURSOR_INFO cciObj;
HINSTANCE kernel32Obj = LoadLibraryA(TEXT("kernel32.dll"));
if (kernel32Obj != NULL)
{
MYPROC my_attach_console = (MYPROC) GetProcAddress(kernel32Obj, "AttachConsole");
my_attach_console((DWORD)-1);
handleSalida = GetStdHandle(STD_OUTPUT_HANDLE);
cciObj.dwSize = 10;
cciObj.bVisible = FALSE;
SetConsoleCursorInfo(handleSalida, &cciObj);
}
return 0;
}
Luego, show.exe lo copias y pegas en %SystemRoot%\system32
Y ahora modificas el registro para que cada vez que abras cmd.exe se ejecute show.exe
reg.exe add "HKLM\Software\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d \"%SystemRoot%\system32\show.exe\" /f
y listo, ahora cada vez que abres el cmd.exe ya no está el cursor.