Rundll32 usage tips use shell to open the Select File Dialog Box and other

Source: Internet
Author: User
Tags rfc822

Rundll32 contains many system commands. The following is a collection of commands that rundll32 can execute.

To bring up the "format-3 1/2 floppy (A :)" window:
Rundll32.exe shell32.dll, shformatdrive

To bring up the control panel "date/time properties" window:
Rundll32.exe shell32.dll, control_rundll TimeDate. CPL

To bring up the control panel "Display Properties" window:
Rundll32.exe shell32.dll, control_rundll desk. CPL

To bring up the control panel "Display Properties" window and open the third tab (the third tab is 2 because the first tab is 0 ):
Rundll32.exe shell32.dll, control_rundll TimeDate. CPL, @ 0, 2

To bring up the control panel "network" window:
Rundll32.exe shell32.dll, control_rundll netcpl. CPL

To bring up the control panel "System Properties" window:
Rundll32.exe shell32.dll, control_rundll sysdm. CPL

To shut windows down using the Windows 3.1 API:
Rundll user, exitwindows
Or you can use the number that Quick View displays alongside the function name:
Rundll user, #7

To try for a reboot using the Windows 3.1 API:
Rundll user, exitwindowsexec
Or
Rundll user, #246.

To shut windows down using the Win32 API
Rundll32 user.exe, #7

Make a beep
Rundll user, messagebeep
Rundll32 user.exe, messagebeep
Rundll3user.exe, #104

Shuts Off com2 serial port if the port was opened under the Windows 3.1 API
Rundll user, closecomm
Rundll32 user.exe, closecomm
Rundll3user.exe, #207

Polite windows restart
Rundll user, exitwindowsexec

Polite power off
Rundll user, exitwindows
Rundll32 user.exe, exitwindows
Rundll32 user.exe, #7

Forced immediate Logoff
Rundll32 user32.dll, exitwindowsex

Open Dun (Dial Up Networking exported file ):
Rundll32.exe rnaui. dll, rnarunimport

Start a dialup connection by name
Rundll32.exe rnaui. dll, rnadial % 1

NetMeeting speeddial CNF:
Rundll32.exe msconf. dll, openconflink % L

H.323-or-Intel iPhone Internet Telephony:
Rundll32.exe msconf. dll, newmediaphone % L

URL callto:
Rundll32.exe msconf. dll, calltoprotocolhandler % L

URL:
Rundll32.exe shdocvw. dll, Openurl % L

URL rlogin/Telnet/tn3270:
Rundll32.exe URL. dll, telnetprotocolhandler % L

Email rfc822 EML:
Rundll32.exe C: \ WINDOWS \ SYSTEM \ mailnews. dll, emlfilehandler

News rfc822 NWS:
Rundll32.exe C: \ WINDOWS \ SYSTEM \ mailnews. dll, news_rundll

URL file:
Rundll32.exe URL. dll, fileprotocolhandler % L

URL mailto:
Rundll32.exe C: \ WINDOWS \ SYSTEM \ mailnews. dll, mail_rundll

INF install:
C: \ windows \ rundll.exe setupx. dll, installhinfsection defaultinstall 132

INF active install
Rundll32.exe advpack. dll, launchinfsection % 1, defainstall install

New briefcase
C: \ windows \ rundll32.exe syncui. dll, briefcase_create % 1! D! % 2

New lnk
Rundll32 appwiz. CPL, newlinkhere % 1

Open AIF
Rundll32 amovie. ocx, rundll % 1

Play AIF
Rundll32 amovie. ocx, rundll/play/Close % 1

Open auf
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/Open % 1

Play auf
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/play/Close % 1

Open Avi
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/Open % 1

Play Avi
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/play/Close % 1

Open Channel File
Rundll32 cdfview. dll, openchannel % L

Subscribe to channel
Rundll32 cdfview. dll, subscribe % L

Print html
Rundll32.exe C: \ WINDOWS \ SYSTEM \ mshtml. dll, printhtml "% 1"

Printto html
Rundll32.exe C: \ WINDOWS \ SYSTEM \ mshtml. dll, printhtml "% 1" "% 2" "% 3" "% 4"

Open MIDI
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/Open % 1

Play MIDI
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/play/Close % 1

Open mov
Rundll32 amovie. ocx, rundll % 1

Play mov
Rundll32 amovie. ocx, rundll/play/Close % 1

Open MPEG
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/Open % 1

Play MPEG
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/play/Close % 1

Open Sound
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/Open % 1

Play Sound
C: \ windows \ rundll32.exe C: \ WINDOWS \ SYSTEM \ amovie. ocx, rundll/play/Close % 1

Open unknown File
C: \ windows \ rundll32.exe shell32.dll, openas_rundll % 1

Install Screensaver
C: \ windows \ rundll32.exe desk. CPL, installscreensaver % L

More great rundll tips:
Http://www.mvps.org/vb/tips/shellcpl.txt

Http://www.rgagnon.com/pbdetails/pb-0204.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.