Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Thủ thuật Windows XP ( phần 5) docx
Nội dung xem thử
Mô tả chi tiết
Chương 1 :Thủ thuật Windows XP ( phần 5)
016. Thêm Notepad vào menu ngữ cảnh.
Vào Notepad soạn nội dung sau rồi lưu lại dưới định dạng là .reg (
VD: Add Notepad in Context Menu.reg )
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open With Notepad]
[HKEY_CLASSES_ROOT\*\Shell\Open With Notepad\Command]
@="Notepad.exe \"%1\""
Sau đó tiến hành thực thi file vừa tạo.
Ngoài ra ta cũng có thể sử dụng đoạn mã sau nhưng khi lưu thành
file .reg thì chọn File Save as… và chọn Unicode tại trường
Encoding để hiển thị đúng phông Unicode.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Mở với Notepad]
[HKEY_CLASSES_ROOT\*\Shell\Mở với Notepad\Command]
@="Notepad.exe \"%1\""
017. Đăng kí và gỡ bỏ tập tin .dll và .osx trên menu ngữ cảnh.
Vào Notepad soạn nội dung sau rồi lưu lại dưới định dạng là .reg (
VD: Register & UnRegister Dll, Ocx File.reg )
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"
[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]