winexec(Pchar('StrCommand'),sw_Show);
其中"StrCommand"代表以下命令之一(使用Windows中的運(yùn)行不要加引號(hào)):
"rundll32 shell32,Control_RunDLL" - 運(yùn)行控制面板
"rundll32 shell32,OpenAs_RunDLL" - 打開"打開方式"窗口
"rundll32 shell32,ShellAboutA Info-Box" - 打開"關(guān)于"窗口
"rundll32 shell32,Control_RunDLL desk.cpl" - 打開"顯示屬性"窗口
"rundll32 user,cascadechildwindows" - 層疊全部窗口
"rundll32 user,tilechildwindows" - 最小化所有的子窗口
"rundll32 user,repaintscreen" - 刷新桌面
"rundll32 shell,shellexecute Explorer" - 重新運(yùn)行Windows Explorer
"rundll32 keyboard,disable" - 鎖寫鍵盤
"rundll32 mouse,disable" - 讓鼠標(biāo)失效
"rundll32 user,swapmousebutton" - 交換鼠標(biāo)按鈕
"rundll32 user,setcursorpos" - 設(shè)置鼠標(biāo)位置為(0,0)
"rundll32 user,wnetconnectdialog" - 打開"映射網(wǎng)絡(luò)驅(qū)動(dòng)器"窗口
"rundll32 user,wnetdisconnectdialog" - 打開"斷開網(wǎng)絡(luò)驅(qū)動(dòng)器"窗口
"rundll32 user,disableoemlayer" - 顯示BSOD窗口, (BSOD) = Blue Screen Of
Death, 即藍(lán)屏
"rundll32 diskcopy,DiskCopyRunDll" - 打開磁盤復(fù)制窗口
"rundll32 rnaui.dll,RnaWizard" - 運(yùn)行"Internet連接向?qū)?,
如果加上參數(shù)"/1"則為silent模式
"rundll32 shell32,SHFormatDrive" - 打開"格式化磁盤(A)"窗口
"rundll32 shell32,SHExitWindowsEx -1" - 冷啟動(dòng)Windows Explorer
"rundll32 shell32,SHExitWindowsEx 1" - 關(guān)機(jī)
"rundll32 shell32,SHExitWindowsEx 0" - 退當(dāng)前用戶
"rundll32 shell32,SHExitWindowsEx 2" Windows9x 快速重啟
"rundll32 krnl386.exe,exitkernel" - 強(qiáng)行退出Windows 9x(無確認(rèn))
"rundll rnaui.dll,RnaDial "MyConnect" - 運(yùn)行"網(wǎng)絡(luò)連接"對(duì)話框
"rundll32 msprint2.dll,RUNDLL_PrintTestPage" - 選擇打印機(jī)和打印測(cè)試頁
"rundll32 user,setcaretblinktime" - 設(shè)置光標(biāo)閃爍速度
"rundll32 user, setdoubleclicktime" - 測(cè)試鼠標(biāo)雙擊速度
"rundll32 sysdm.cpl,InstallDevice_Rundll" - 搜索非PnP設(shè)備
控制面板中的各項(xiàng)功能
winexec('rundll32.exe shell32.dll, Control_RunDLL', 9);
{輔助選項(xiàng) 屬性-鍵盤}
winexec('rundll32.exe shell32.dll, Control_RunDLL access.cpl, 1', 9);
{輔助選項(xiàng) 屬性-聲音}
winexec('rundll32.exe shell32.dll, Control_RunDLL access.cpl, 2', 9);
{輔助選項(xiàng) 屬性-顯示}
winexec('rundll32.exe shell32.dll, Control_RunDLL access.cpl, 3', 9);
{輔助選項(xiàng) 屬性-鼠標(biāo)}
winexec('rundll32.exe shell32.dll, Control_RunDLL access.cpl, 4', 9);
{輔助選項(xiàng) 屬性-常規(guī)}
winexec('rundll32.exe shell32.dll, Control_RunDLL access.cpl, 5', 9);
{添加/刪除程序 屬性-安裝/卸載}
winexec('rundll32.exe shell32.dll, Control_RunDLL Appwiz.cpl, 1', 9);
{添加/刪除程序 屬性-Windows安裝程序}
winexec('rundll32.exe shell32.dll, Control_RunDLL Appwiz.cpl, 2', 9);
{添加/刪除程序 屬性-啟動(dòng)盤}
新聞熱點(diǎn)
疑難解答
圖片精選