Here i will show you how can you use your own photo and name instead of the default icon and name of any drive respectively.
For this you have an image of your own or any other that you want to use instead of icon having extension .ico or .bmp. if not then use Paint in windows or convert with any software.
Suppose your image is your-image.bmp.
Now open the Notepad and write the following:
[autorun]
icon=your-image.bmp
label=your-name
And save the file as name as autorun.inf.
Now copy and paste (or write in the case of CD/DVD drive) these two files in the Drive (USB, Hard Disk) in which you want want to attach your image and name and remount the Volume or drive.That is in the case of USB Drive or CD/DVD Drive reinsert your USB device or CD/DVD.In case of Hard Disk Drive restart your computer.Done.
Example:
Currently my Pen Drive name is puru(H:).Now i copy and paste the AUTORUN.INF and Puru.bmp in my USB Pen drive.Shown in figure.
I also copy and paste the same file in my Hard disk drive (D:). I have to restart my computer because drive (D:) need to remount.After the restart shown in figure.
Now if you want to hide the autorun.inf and your-image.bmp.So that it can’t be seen by others.Then do the following:
- Open command prompt (cmd.exe).
- Type the Drive Letter in side which the autorun.inf is present. (eg. H: ) then press Enter.
- Type ATTRIB AUTORUN.INF +S +H and press Enter.
- Type ATTRIB YOUR-IMAGE.BMP +S +H and press Enter.
- Type EXIT and press Enter.
Example:
In the above Example it is like this,
In the case of CD/DVD write these files after the system(S) and Hidden(H) attributes are added.