Thursday, October 18, 2007

Showing super hidden folder and file

Cara 0
A:\> dir /ah
Menampilkan seluruh isi file, hidden & non-hidden di current folder.

A:\> attrib -S -H /S /D *
Merubah atribut pada file dan folder.
keterangan :
-S : Untuk menghilangkan attrib tipe sistem file
-H : Untuk menghilangkan attrib tipe hidden file
/S : Untuk memproses seluruh folder dan sub folder
/D : Memproses folder
* : Semua file/folder yang terdapat di USB Flashdisk

Keterangan ttg
ATTRIB
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [[drive:] [path] filename]
[/S [/D]]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.

cara 1
Buka registry editor : klik Start, pilih Run dan ketik “regedit” (tanpa tanda kutip).

Kemudian arahkan bagian kiri pada key di bawah ini :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Explorer\Advanced\Folder\Hidden]

Pada bagian kanan buatlah String Value dengan nama value “Type” kemudian double klik dan isi bagian value data dengan “group”. Tutup aplikasi regedit kemudian restart komputer.

cara 2
Bikin DWORD value, kasih nama “Hidden”

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
Advanced]
Value Name: Hidden
Data Type: REG_DWORD (DWORD Value)
Value Data: (1 = show hidden, 2 = Ngga Show)

cara 3
coba ketik ini di command prompt : attrib G:\*.* -s -h /S /D (asumsi: G:\ adalah drive usb flahdisk ybs)

Kalo gagal coba lakukan per folder/file. ganti *.* dengan nama folder/file yang diinginkan.

Contoh : attrib G:\folder1 -s -h /S /D
attrib G:\folder1 -s -h /S /D
attrib G:\namafile1.ext -s -h
attrib G:\namafile1.ext -s -h

Untuk keterangan lengkap soal option ATTRIB ini, ketik attrib.exe /? di command prompt.

cara 4
Masuk kesini:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\

HideFileExt

Brosing key key yang ada disana:
Rubah value CheckedValue ke 2 ato 1
Rubah value DefaultValue ke 2 ato 1

--digsource

Friday, October 05, 2007

Disable autoplay to all Drive and Removable disk media

To disable autoplay to all Drive and Removable disk media go to registry...

------------------- Start Code ------------------
REGEDIT 4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000dd
"NoDriveAutoRun"=dword:03ffffff
------------------- End Code ---------------------
in decimal:
NoDriveTypeAutoRun = 221
NoDriveAutoRun = 67108863

--digsource


Tuesday, October 02, 2007

Configure custom port on xamppbasic

Port HTTP 80:
File: {xampp_dir}\apache\conf\httpd.conf
Line: 54
.
.
#Listen 12.34.56.78:80
Listen 80 #change to whatever you like
.
.
===========================================================================
Port HTTPS 443:
File:
{xampp_dir}\apache\conf\extra\httpd-ssl.conf
Line:37

.
.
Listen 443
#change to whatever you like
.
.

--digsource