2024年3月15日发(作者:)

winexec(Pchar('StrCommand'),sw_Show);

其中"StrCommand"代表以下命令之一(使用Windows中的运行不要加引号):

"rundll32 shell32,Control_RunDLL" - 运行控制面板

"rundll32 shell32,OpenAs_RunDLL" - 打开"打开方式"窗口

"rundll32 shell32,ShellAboutA Info-Box" - 打开"关于"窗口

"rundll32 shell32,Control_RunDLL " - 打开"显示属性"窗口

"rundll32 user,cascadechildwindows" - 层叠全部窗口

"rundll32 user,tilechildwindows" - 最小化所有的子窗口

"rundll32 user,repaintscreen" - 刷新桌面

"rundll32 shell,shellexecute Explorer" - 重新运行Windows Explorer

"rundll32 keyboard,disable" - 锁写键盘

"rundll32 mouse,disable" - 让鼠标失效

"rundll32 user,swapmousebutton" - 交换鼠标按钮

"rundll32 user,setcursorpos" - 设置鼠标位置为(0,0)

"rundll32 user,wnetconnectdialog" - 打开"映射网络驱动器"窗口

"rundll32 user,wnetdisconnectdialog" - 打开"断开网络驱动器"窗口

"rundll32 user,disableoemlayer" - 显示BSOD窗口, (BSOD) = Blue Screen Of

Death, 即蓝屏

"rundll32 diskcopy,DiskCopyRunDll" - 打开磁盘复制窗口

"rundll32 ,RnaWizard" - 运行"Internet连接向导",

如果加上参数"/1"则为silent模式

"rundll32 shell32,SHFormatDrive" - 打开"格式化磁盘(A)"窗口

"rundll32 shell32,SHExitWindowsEx -1" - 冷启动Windows Explorer

"rundll32 shell32,SHExitWindowsEx 1" - 关机

"rundll32 shell32,SHExitWindowsEx 0" - 退当前用户

"rundll32 shell32,SHExitWindowsEx 2" Windows9x 快速重启

"rundll32 ,exitkernel" - 强行退出Windows 9x(无确认)

"rundll ,RnaDial "MyConnect" - 运行"网络连接"对话框

"rundll32 ,RUNDLL_PrintTestPage" - 选择打印机和打印测试页

"rundll32 user,setcaretblinktime" - 设置光标闪烁速度

"rundll32 user, setdoubleclicktime" - 测试鼠标双击速度

"rundll32 ,InstallDevice_Rundll" - 搜索非PnP设备

控制面板中的各项功能

winexec(' , Control_RunDLL', 9);

{辅助选项 属性-键盘}

winexec(' , Control_RunDLL , 1', 9);

{辅助选项 属性-声音}

winexec(' , Control_RunDLL , 2', 9);

{辅助选项 属性-显示}

winexec(' , Control_RunDLL , 3', 9);

{辅助选项 属性-鼠标}

winexec(' , Control_RunDLL , 4', 9);

{辅助选项 属性-常规}

winexec(' , Control_RunDLL , 5', 9);

{添加/删除程序 属性-安装/卸载}

winexec(' , Control_RunDLL , 1', 9);

{添加/删除程序 属性-Windows安装程序}

winexec(' , Control_RunDLL , 2', 9);

{添加/删除程序 属性-启动盘}

winexec(' , Control_RunDLL , 3', 9);

{显示 属性-背景}

winexec(' , Control_RunDLL , 0', 9);

{显示 属性-屏幕保护程序}

winexec(' , Control_RunDLL , 1', 9);

{显示 属性-外观}

winexec(' , Control_RunDLL , 2', 9);

{显示 属性-设置}

winexec(' , Control_RunDLL , 3', 9);

{Internet 属性-常规}

winexec(' , Control_RunDLL , 0',

9);

{Internet 属性-安全}

winexec(' , Control_RunDLL , 1',

9);

{Internet 属性-内容}

winexec(' , Control_RunDLL , 2',

9);

{Internet 属性-连接}

winexec(' , Control_RunDLL , 3',

9);

{Internet 属性-程序}

winexec(' , Control_RunDLL , 4',

9);

{Internet 属性-高级}

winexec(' , Control_RunDLL , 5',

9);

{区域设置 属性-区域设置}

winexec(' , Control_RunDLL , 0', 9);

{区域设置 属性-数字}

winexec(' , Control_RunDLL , 1', 9);

{区域设置 属性-货币}

winexec(' , Control_RunDLL , 2', 9);

{区域设置 属性-时间}

winexec(' , Control_RunDLL , 3', 9);

{区域设置 属性-日期}

winexec(' , Control_RunDLL , 4', 9);