PC Review


Reply
Thread Tools Rate Thread

chang icon on folder

 
 
olsen.orjan@gmail.com
Guest
Posts: n/a
 
      22nd Nov 2006
I want to change the icon on my folders from a standard look to a more
personal look.
I want this to be done in a program that I'm programming.
This program are creating a user and a project folder. I want these two
folders to have a personal icon on them.

How can this be done?
I must create an desktop.ini file and an icon. I've tried that. I've
also saved them inside the folder that I want to change the look. Bur
no changes are done.

This is my desktop.ini file:
[.ShellClassInfo]
ConfirmFileOp=0
NoSharing=1
IconFile=myicon.ico
IconIndex=0
InfoTip=Dds project folder

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UmFqS29obGk=?=
Guest
Posts: n/a
 
      22nd Nov 2006
You forget to set attribute to Desktop.ini. Desktop.ini must be protected by
+S attrib. You have to protect this file from Command Prompt. Click Start -
Run - type CMD and press Enter. Move to the folder where your file is located
and use ATTRIB +S DESKTOP.INI.

The method could be different as you may or you have to protect this file
through your program.

Hope this is what you were missing, let us know!

"(E-Mail Removed)" wrote:

> I want to change the icon on my folders from a standard look to a more
> personal look.
> I want this to be done in a program that I'm programming.
> This program are creating a user and a project folder. I want these two
> folders to have a personal icon on them.
>
> How can this be done?
> I must create an desktop.ini file and an icon. I've tried that. I've
> also saved them inside the folder that I want to change the look. Bur
> no changes are done.
>
> This is my desktop.ini file:
> [.ShellClassInfo]
> ConfirmFileOp=0
> NoSharing=1
> IconFile=myicon.ico
> IconIndex=0
> InfoTip=Dds project folder
>
>

 
Reply With Quote
 
olsen.orjan@gmail.com
Guest
Posts: n/a
 
      22nd Nov 2006
Thanks.
When I made my folder a systemfolder, with the same command it adds my
icon to the folder.
But when I make desktop.ini a sys file attribute, my icon doesn't show
in windows explorer. But it shows when I'm just browsing...

Thanks for your help.

:-)
RajKohli skrev:
> You forget to set attribute to Desktop.ini. Desktop.ini must be protected by
> +S attrib. You have to protect this file from Command Prompt. Click Start -
> Run - type CMD and press Enter. Move to the folder where your file is located
> and use ATTRIB +S DESKTOP.INI.
>
> The method could be different as you may or you have to protect this file
> through your program.
>
> Hope this is what you were missing, let us know!
>
> "(E-Mail Removed)" wrote:
>
> > I want to change the icon on my folders from a standard look to a more
> > personal look.
> > I want this to be done in a program that I'm programming.
> > This program are creating a user and a project folder. I want these two
> > folders to have a personal icon on them.
> >
> > How can this be done?
> > I must create an desktop.ini file and an icon. I've tried that. I've
> > also saved them inside the folder that I want to change the look. Bur
> > no changes are done.
> >
> > This is my desktop.ini file:
> > [.ShellClassInfo]
> > ConfirmFileOp=0
> > NoSharing=1
> > IconFile=myicon.ico
> > IconIndex=0
> > InfoTip=Dds project folder
> >
> >


 
Reply With Quote
 
Ayush
Guest
Posts: n/a
 
      22nd Nov 2006
To make the Desktop.ini file invisible, you can use :
attrib +s +h "Desktop.ini path"

If that fails, then do this before doing that :
attrib -s -h "Desktop.ini path"


--
Ayush [ Be ''?'' Happy ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replid to [(E-Mail Removed)]s message :
-----------------------------------------------------------
> Thanks.
> When I made my folder a systemfolder, with the same command it adds my
> icon to the folder.
> But when I make desktop.ini a sys file attribute, my icon doesn't show
> in windows explorer. But it shows when I'm just browsing...
>
> Thanks for your help.
>
> :-)
> RajKohli skrev:
>> You forget to set attribute to Desktop.ini. Desktop.ini must be
>> protected by +S attrib. You have to protect this file from Command
>> Prompt. Click Start - Run - type CMD and press Enter. Move to the
>> folder where your file is located and use ATTRIB +S DESKTOP.INI.
>>
>> The method could be different as you may or you have to protect this
>> file through your program.
>>
>> Hope this is what you were missing, let us know!
>>
>> "(E-Mail Removed)" wrote:
>>
>>> I want to change the icon on my folders from a standard look to a
>>> more personal look.
>>> I want this to be done in a program that I'm programming.
>>> This program are creating a user and a project folder. I want these
>>> two folders to have a personal icon on them.
>>>
>>> How can this be done?
>>> I must create an desktop.ini file and an icon. I've tried that. I've
>>> also saved them inside the folder that I want to change the look.
>>> Bur no changes are done.
>>>
>>> This is my desktop.ini file:
>>> [.ShellClassInfo]
>>> ConfirmFileOp=0
>>> NoSharing=1
>>> IconFile=myicon.ico
>>> IconIndex=0
>>> InfoTip=Dds project folder



 
Reply With Quote
 
olsen.orjan@gmail.com
Guest
Posts: n/a
 
      19th Dec 2006
I didn't have to make my folder a system folder. It is enough to update
the attribute to read only.

This is the only thing that changes icon on folders, when they are
placed under program files.


Ayush wrote:
> To make the Desktop.ini file invisible, you can use :
> attrib +s +h "Desktop.ini path"
>
> If that fails, then do this before doing that :
> attrib -s -h "Desktop.ini path"
>
>
> --
> Ayush [ Be ''?'' Happy ]
> -------------
> Search - www.Google.com | Wikipedia - http://en.wikipedia.org
> Snip your long urls - http://snipurl.com/
> -------------
>
>
> Replid to [(E-Mail Removed)]s message :
> -----------------------------------------------------------
> > Thanks.
> > When I made my folder a systemfolder, with the same command it adds my
> > icon to the folder.
> > But when I make desktop.ini a sys file attribute, my icon doesn't show
> > in windows explorer. But it shows when I'm just browsing...
> >
> > Thanks for your help.
> >
> > :-)
> > RajKohli skrev:
> >> You forget to set attribute to Desktop.ini. Desktop.ini must be
> >> protected by +S attrib. You have to protect this file from Command
> >> Prompt. Click Start - Run - type CMD and press Enter. Move to the
> >> folder where your file is located and use ATTRIB +S DESKTOP.INI.
> >>
> >> The method could be different as you may or you have to protect this
> >> file through your program.
> >>
> >> Hope this is what you were missing, let us know!
> >>
> >> "(E-Mail Removed)" wrote:
> >>
> >>> I want to change the icon on my folders from a standard look to a
> >>> more personal look.
> >>> I want this to be done in a program that I'm programming.
> >>> This program are creating a user and a project folder. I want these
> >>> two folders to have a personal icon on them.
> >>>
> >>> How can this be done?
> >>> I must create an desktop.ini file and an icon. I've tried that. I've
> >>> also saved them inside the folder that I want to change the look.
> >>> Bur no changes are done.
> >>>
> >>> This is my desktop.ini file:
> >>> [.ShellClassInfo]
> >>> ConfirmFileOp=0
> >>> NoSharing=1
> >>> IconFile=myicon.ico
> >>> IconIndex=0
> >>> InfoTip=Dds project folder


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I accidentally changed a folder icon to a Recycle Bin Icon. Undo? =?Utf-8?B?TGFycnk=?= Windows XP General 2 4th May 2007 03:17 PM
can't change customised folder icon back to default XP folder icon =?Utf-8?B?VXplZQ==?= Windows XP Customization 6 4th Feb 2007 11:30 AM
accidently changed folder icon to recycle bin icon - reversal? =?Utf-8?B?YnViYmFyb3g=?= Windows XP Help 2 28th Apr 2006 07:21 AM
Changing Folder Icon For 75 Folders 2 Same Icon Larry(LJL269) Windows XP General 2 19th Nov 2003 01:29 AM
Recycle Bin Desktop Icon isdisplayed as a normal windows folder icon Olivier Windows XP Customization 3 30th Aug 2003 05:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:34 PM.