× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Booth Martin wrote:
My curiosity has gotten he better of me. What is the purpose of the rundll32 part of the command?

Rundll32 is a Windows program that calls an exported function in a DLL. If you have no idea what that means, consider this:

a) a DLL on Windows is like a SRVPGM on iSeries.
b) an exported function on Windows is like an exported subprocedure on iSeries.

So it's basically a program that can call any function (subprocedure) in any DLL (service program) from the command-line without having to write a special program to handle it. The example that we've been discussing launches a DLL called URL.DLL which is included with Windows. Inside that DLL is a routine called FileProtocolHandler which accepts one parameter, the name of the file that it should find the handler for. It'll then launch that program and execute the filename.

Since a "filename" starting with http:// is supposed to be handled by a web browser, it'll open up the browser and navigate to the URL that you specified. (If that makes any sense.)

Here's another example, that calls the "Control_RunDLL" routine in the Shell32.dll file. Control_RunDLL is a function that was added to let RunDLL open up the Windows Control Panel and run one of the control panel applets inside. For example, this opens the time & date applet:

strpccmd pccmd('rundll32 shell32,Control_RunDLL timedate.cpl')

More info:
http://support.microsoft.com/?kbid=164787


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.