Hab mein Problem gelöst 
Hier meine Schritt für Schritt Lösung falls es jemanden interessiert
1) Zuerst Activeperl installiern
2) ppm install win32-api (Unter DOS)
3) ppm install http://www.roth.net/perl/packages/win32-api-prototype.ppd
4) als nächstes eine hide.pl (Unter C:\winnt\ anlegen)
-----------------------------------------------------------------------------
use Win32::API::Prototype;
ApiLink( 'kernel32.dll', 'HWND GetConsoleWindow()' )
die;
ApiLink( 'user32.dll', 'BOOL ShowWindow( HWND hWnd, int iCommand )' )
die;
$hWnd = GetConsoleWindow();
# Minimize the window.
ShowWindow( $hWnd, 0x07 );
-----------------------------------------------------------------------------
Hex Werte für ShowWindow:
SW_HIDE 0x00 Hides the window, which causes another window to become the topmost window
SW_SHOWNORMAL 0x01 Activates and displays the specified window (both
SW_NORMAL constants achieve this result)
SW_SHOWMINIMIZED 0x02 Activates and minimizes the specified window
SW_SHOWMAXIMIZED 0x03 Activates and maximizes the specified window (both
SW_MAXIMIZE constants achieve this result)
SW_SHOWNOACTIVATE 0x04 Restores the specified window to its most recent size and position (like SW_RESTORE) but doesn't activate the window
SW_SHOW 0x05 Activates the specified window, which forces the window to become the topmost window
SW_MINIMIZE 0x06 Minimizes the specified window and lets the next topmost window become the topmost window
SW_SHOWMINNOACTIVE 0x07 Minimizes but doesn't activate the specified window
SW_SHOWNA 0x08 Displays but doesn't activate the specified window (use to unhide but not activate a window)
SW_RESTORE 0x09 Activates the specified window and restores it to its original size and position (use to restore a minimized window)
SW_SHOWDEFAULT 0x0a Sets the window's default state specified when the application started
SW_FORCEMINIMIZE 0x0b Forces the specified window to minimize even if the window belongs to an application that is hung (only Win2K and later support this constant)
5) Registry ändern damit perl script beim starten von cmd.exe geladen wird
1) regedit
2) Gehe zu HKEY_CURRENT_USER\Software\Microsoft\Command
Processor
3) String "Autorun" anlegen
4) Wert "perl c:\winnt\hide.pl" anlegen
Des müsste es gewesen sein am besten perl script vor der regstriy änderung ausprobiern (perl c:\winnt\hide.pl)
Hoffe es nützt jemanden ausser mir 
Grüße SchwipSchwap