Thủ thuật Windows XP: Đăng kí và gỡ bỏ tập tin .dll và .osx trên menu ngữ cảnh ppsx

3 677 0
Thủ thuật Windows XP: Đăng kí và gỡ bỏ tập tin .dll và .osx trên menu ngữ cảnh ppsx

Đang tải... (xem toàn văn)

Thông tin tài liệu

Đă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] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX" [HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%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\.dll] "Content Type"="application/x-msdownload" @="dllfile" [HKEY_CLASSES_ROOT\dllfile] @="Application Extension" [HKEY_CLASSES_ROOT\dllfile\Shell\Đăng kí file dll,ocx, \command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\Hủy đăng kí file dll,ocx, \command] @="regsvr32.exe /u \"%1\"" [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX" [HKEY_CLASSES_ROOT\ocxfile\Shell\Đăng kí file dll,ocx, \command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\Hủy đăng kí file dll,ocx, \command] @="regsvr32.exe /u \"%1\"" . Đă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. Type"="application/x-msdownload" @="dllfile" [HKEY_CLASSES_ROOTdllfile] @="Application Extension" [HKEY_CLASSES_ROOTdllfileShell Đăng kí file dll, ocx, command] @="regsvr32.exe. "%1"" [HKEY_CLASSES_ROOT.ocx] @="ocxfile" [HKEY_CLASSES_ROOTocxfile] @="OCX" [HKEY_CLASSES_ROOTocxfileShell Đăng kí file dll, ocx, command] @="regsvr32.exe "%1"" [HKEY_CLASSES_ROOTocxfileShellHủy đăng kí file dll, ocx, command] @="regsvr32.exe

Ngày đăng: 22/07/2014, 10:20

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan