Home  >  Article  >  Computer Tutorials  >  The easy way to add desktop icons

The easy way to add desktop icons

PHPz
PHPzforward
2024-01-20 08:39:181353browse

The easy way to add desktop icons

How to add desktop icons to the desktop

Retrieve display desktop icon

In the Windows operating system, the actual location of the Show Desktop icon in the taskbar (Quick Launch Bar) is "C:\Windows\System\Show Desktop.scf". The Quick Launch Bar is implemented by placing it in "C:\Windows\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf". When the Display Desktop icon is accidentally deleted and needs to be restored, you can create a new "Display Desktop.scf" file in "C:\Windows\Application Data\Microsoft\Internet Explorer\Quick Launch\Display Desktop.scf". Alternatively, you can find the file from "C:\Windows\System\ShowDesktop.scf" and copy it to the folder "C:\Windows\Application Data\Microsoft\Internet Explorer\Quick Launch", or create a Shortcut, drag it directly to the taskbar to complete the recovery operation.

A more convenient method is to use a text editor such as Notepad to create a display desktop .scf file. The following is the file content: [Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop

[Shell]

Command=2

IconFile=explorer.exe,3

[Taskbar]

Command=ToggleDesktop

When saving, set the file name to "Show Desktop.scf", then drag it to the quick launch bar, and the Show Desktop icon will be retrieved.

The third line represents the position of the icon. If you replace the number "3" with "4" and refresh, the icon will change; if you replace it with "5", it will become another one. That's how you change how your desktop icons appear. In fact, just enter the path of your favorite icon after "IconFile=".

Under Windows 9x system, if the display desktop icon is accidentally deleted, you only need to type "*.scf" in the search to find the display desktop icon. Under Windows XP, the only way is to copy or write a program. Of course, you can also copy it from another computer.

Easier method: Enter "REGSVR32 /n /i:u shell32" (without double quotes) in the "Run" dialog box, and then press Enter. After a while, the "DllInstall in shell32 successful" dialog box will pop up. The "Show Desktop" button appears.

How to create a new icon that displays the desktop

If the icon showing the desktop is gone, you can use the following method to get one yourself:

(Used to restore the "Show Desktop" button in the "Quick Launch" bar)

Open a "Notepad" document and copy and paste the following content in it:

[Shell]

Command=2

IconFile=explorer.exe,3

[Taskbar]

Command=ToggleDesktop

Then save this notepad document as Show Desktop.scf, that is, rename the new notepad.txt to Show Desktop.scf. (It must be noted that the archive type must be changed from TXT to all files when saving, so that the saved file format is scf instead of TXT)

Make sure the file name is the same as Show Desktop.scf. Then copy the Show Desktop.scf file to the following location: C:\Documents and Settings\(your username)\Application Data\Microsoft\Internet Explorer\Quick Launch folder directory. (You need to replace "your username" with the username you need to restore the "Show Desktop" button, that is, your computer username)

How to set the Show Desktop button

The "Show Desktop" button in the "Quick Launch" bar is different from the general shortcut. If you accidentally delete the "Show Desktop" button, it cannot be restored using normal methods.

To restore the "Show Desktop" button in the "Quick Launch" bar, you need to use the method described below.

Open the "Notepad" program and enter the following content:

[Shell]

Command=2

IconFile=explorer.exe,3

[Taskbar]

Command=ToggleDesktop

Then save this file as: "Show Desktop.scf". Make sure the file name is the same as the one in double quotes. Then copy the saved Show Desktop.scf file to: "C:\Documents and Settings\Username\Application Data\Microsoft\Internet Explorer\Quick Launch" directory. Where you need to replace "username" with the username you need to restore the "Show Desktop" button.

Technical step-by-step instructions on how to add the Show Desktop button on the Win7 taskbar

Note: Changing the registry is risky. It is best to back up your data to avoid unnecessary trouble.

Scope of application: win7 operating system.

Commonly used simple methods:

1. Right-click on the taskbar and select "Show Desktop".

2. Press the Win D shortcut key to minimize all windows on the home screen.

3. Use the mouse to grab the current window and shake it several times. All windows except the current window will be minimized. This is a feature of Win7.

Imitate the "Show Desktop" button in XP to create your own "Show Desktop" button:

Let’s talk about the principle first. The code is the same as XP. The difference is that you cannot drag it directly into the taskbar under Win7, otherwise the effect in XP will not be achieved. Just find a shortcut to a program, then modify its icon and link location, and then just remember to lock it to the taskbar.

2. Create a new notepad on the desktop, copy the following code into it, and then click [Save As]. The save type is: All Files, and the file name is: Show Desktop.scf. Then put the file in a place that you think is not an eyesore. For example, I put it in the root directory of drive C, and the path is C:\\Show Desktop.scf. [Shell]Command=2

IconFile=%SystemRoot%system32SHELL32.dll,34[Taskbar]

Command=ToggleDesktop

3. Open [Computer]-[Organization]-[Folder and Search Options]-[View]-[Hidden files and files] option, then select [Show hidden files, folders, and drives], and the settings are complete Then open the path C:\\Users\\your username\\AppData\\Roaming\\Microsoft\\Internet Explorer\\Quick Launch\\User Pinned\\TaskBar. At this time we can see the Media Player icon that we have changed. At this time, we right-click on the icon and select [Properties], and change [Target] to C:\\Show Desktop.scf. Of course, if you put it somewhere else place, just change it to your path.

The above is the detailed content of The easy way to add desktop icons. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:docexcel.net. If there is any infringement, please contact admin@php.cn delete