Xem mẫu
- Thêm shortcut vào My Computer.
Mặc định trong cửa sổ My Computer chỉ chứa các thư mục My
Documents, Shared Documents, các ổ đĩa cứng, ổ đĩa mềm, ổ đĩa quang và
flash. Windows chỉ cho phép thêm duy nhất 1 shortcut vào My Computer là
Control Panel thông qua hộp thoại Folder Options. Tuy nhiên bạn vẫn có
thể thêm 1 vài các shortcut khác như Internet Explorer, Run, Search,..vào
trong cửa sổ My Computer bằng thủ thuật sau:
Vào Notepad soạn nội dung sau rồi lưu lại dưới định dạng là .reg (
VD: Add to MyComputer.reg )
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre
ntVersion\Explorer\MyComputer\NameSpace]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre
ntVersion\Explorer\MyComputer\NameSpace\Giá trị của shortcut
muốn thêm 1]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre
ntVersion\Explorer\MyComputer\NameSpace\Giá trị của shortcut
muốn thêm 2]
Với giá trị của các shortcut tương ứng như sau:
Tên các giá trị cần tạo trong
Tên của biểu tượng
Registry
{D20EA4E1-3957-11D2-A40B-
Administrator Tools
0C5020524153}
{21EC2020-3AEA-1069-A2DD- Control Panel
08002B30309D}] (Classic)
{3080F90E-D7AD-11D9-BD98-
Flip 3D
0000947B0257}
- {D20EA4E1-3957-11d2-A40B-
Fonts
0C5020524152}
{871C5380-42A0-1069-A2EA-
Internet Explorer
08002B30309D}
{00028B00-0000-0000-C000-
Microsoft Network
000000000046}
{7007ACC7-3202-11D1-AAD2- Network
00805FC1270E}] Connections
{2227A280-3AEA-1069-A2DE-
Printers and Faxes
08002B30309D}
{645FF040-5081-101B-9F08-
Recycle Bin
00AA002F954E}
{2559A1F3-21D7-11D4-BDAF-
Run
00C04F60B9F0}
{E211B736-43FD-11D1-9EFB- Scanners and
0000F8757FCD} Cameras
{D6277990-4C6A-11CF-8D87-
Scheduled Task
00AA0060F5BF}
{2559A1F0-21D7-11D4-BDAF-
Search
00C04F60B9F0}]
{48e7caab-b918-4e58-a94d-
Start Menu Folder
505519c795dc}
Sau đó tiến hành thực thi file vừa tạo.
Lưu ý:
Những dòng màu lam là những dòng KHÔNG được thay đổi.
- Dòng màu lục là đoạn mã có tác dụng cả trong Windows XP,
Windows Vista và Windows 7.
Dòng màu đỏ nền vàng là đoạn mã chỉ có tác dụng trong Windows 7.
Muốn bớt 1 shortcut nào đó khỏi My Computer ta thêm dấu - vào
trước dòng HKEY_LOCAL_MACHINE ứng với shortcut tương
ứng.
VD: [-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVer
sion\Explorer\MyComputer\NameSpace\{645FF040-5081-101B-9F08-
00AA002F954E}]
Cửa sổ MyComputer sau khi đã thêm các shortcut (minh họa trên Windows
7)
nguon tai.lieu . vn