Using Rundll32.exe in Windows XP
Can I pass some arguments like "Yes to all prompts" or "Return key to all prompts" to such commands?
Like we do while copy/pasting files and overwriting, etc.
Edit: DLL in question:
C:\Program Files\Sony Ericsson\Sony Ericsson PC Suite\RasCnxMngr.dll
Command to open a GPRS session using saved connection is:
C:\WINDOWS\system32\Rundll32.exe RasCnxMngr.dll,Rundll_Dial Aitel_GPRS
I've little knowledge about DLLs. However, opening the DLL in binary mode I could find below strings together with "Rundll_Dial":
RasCnxMngr.dll
Rundll_Dial
RasCM_CreateView
RasCM_ModuleInquire
RasCM_RemoveAllConnection
RasCM_RemoveConnection
_RasCM_ClearConnectionStatistics@4
_RasCM_Connect@16
_RasCM_Connection@12
_RasCM_ConnectionProperties@12
_RasCM_ConnectionWizard@12
_RasCM_Disconnect@4
_RasCM_Disconnection@8
_RasCM_EnumConnections@12
_RasCM_EnumConnectionsEx@16
_RasCM_GetConnectStatus@4
_RasCM_GetConnectionStatistics@8
_RasCM_GetConnectionStatus@8
_RasCM_GetDefaultConnection@4
_RasCM_GetFallbackConnection@8
_RasCM_GetRASHandle@4
_RasCM_HideConnections@4
_RasCM_Init@8
_RasCM_InitEx@12
_RasCM_ReadConnectionData@12
_RasCM_SetModemInfos@8
_RasCM_Uninit@4
_RasCM_ViewConnections@12
_RasCM_ViewLog@12
I would like to disconnect current connection and reconnect after a minute. Also, to suppress all prompts/confirmations.