Chuyển đổi nhanh chế độ xem file ẩn trong Explorer

Người đăng: buonkhongem on Thứ Ba, 14 tháng 5, 2013

Thông thường, khi muốn hiển thị hay cho ẩn các thư mục/file có thuộc tính ẩn (hidden) bạn phải thay đổi xác lập trong hộp thoại Folder Options. Bạn có thể thực hiện việc này nhanh chóng nhờ vào 1 file vbs làm nhiệm vụ “công tắc” như dưới đây:

- Mở menu Start > chọn All Programs > chọn Accessories > chọn Notepad.
- Trong cửa sổ Notepad, bạn nhập nội dung sau:
Message = "To work correctly, the script will close" & vbCR
Message = Message & "and restart the Windows Explorer shell." & vbCR
Message = Message & "This will not harm your system." & vbCR & vbCR
Message = Message & "Continue?"
X = MsgBox(Message, vbYesNo, "Notice")
If X = 6 Then
On Error Resume Next
On Error Resume Next
Dim WSHShell, n, p, itemtype, MyBox
Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden"
itemtype = "REG_DWORD"
n = WSHShell.RegRead (p)
Đọc thêm »

{ 0 nhận xét... read them below or add one }

Đăng nhận xét