I found a way to create a special file that looks exactly like a JPEG file, but when double-clicked, opens a Windows Explorer window.

These are the steps; as far as I know, it only works in Windows XP.

  1. Open a new Notepad document.
  2. Copy and paste the following into Notepad:

    [Shell]
    Command=2
    IconFile=%SystemRoot%\system32\shimgvw.dll,3
    [Taskbar]
    Command=Explorer

  3. Click File > Save, choose a location, then type “<file name>.jpg.scf” (where <file name> is the name of the file)
  4. Close Notepad and open the folder where you saved the file. Notice that the “.scf” extension is completely hidden (whether extensions are enabled or not) and it looks exactly like a JPEG file. Double-click on the file and tada! Windows Explorer opens.

As far as I know, you can only use the SCF extension to:

  1. Open Windows Explorer.
  2. Show the desktop.
  3. Show the Windows 98 “Channel Bar.”

I doubt Microsoft would be dumb enough to allow an SCF file to open any ol’ program (like fdisk.exe) due to the fact that the SCF extension is hidden.

Of course, there is really no practical application for this (for malicious purposes or otherwise). It’s just kind of fun to see how you can take advantage of the SCF extension. :-P