Creating Desktop.ini files

M

mik311y

Creating Desktop.ini files


I am on Windows Media center and I am trying to create a desktop.ini
file for a new folder. I know exactly what I want in it.......

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=127

While logged in as an admin I am creating this file in note pad and
doing a save as Desktop.ini with all file types selected. I then go to
dos and "attrib +h +s desktop.ini". I then refresh the desktop and log
off and but for some reason the icon will never change. I even tried
copying a windows created desktop.ini file into the folder and it still
does not work. What am I over looking or not doing when I am creating
this file? Any help would be great
 
R

Ramesh, MS-MVP

Use:

Attrib +r "Folder name"

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Creating Desktop.ini files


I am on Windows Media center and I am trying to create a desktop.ini
file for a new folder. I know exactly what I want in it.......

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=127

While logged in as an admin I am creating this file in note pad and
doing a save as Desktop.ini with all file types selected. I then go to
dos and "attrib +h +s desktop.ini". I then refresh the desktop and log
off and but for some reason the icon will never change. I even tried
copying a windows created desktop.ini file into the folder and it still
does not work. What am I over looking or not doing when I am creating
this file? Any help would be great
 
W

Wesley Vogel

You multiposted this same message to...
microsoft.public.windowsxp.help_and_support

Why not just customize the folder with icon you want and let Windows create
the desktop.ini?

127 is the icon that looks like the icon that My Pictures folder uses.

Create a new folder
Right click the new folder
Click Properties
Click the Customize tab
Click the Change Icon button
Move the slider to the right about half way
The icon that you want is in the bottom row, to the left of a RED X
Double click the icon that you want
Click Apply
Click OK
Open your folder, open the desktop.ini that Windows has now created (or
fixed).
-----

If a message MUST be posted to multiple groups, post a single message and
select all the groups (or type their names manually, separated by commas) in
which you want it to be seen. This is called Crossposting and when used
properly it is *GOOD*.

This question was posted individually to multiple groups.

This is called Multiposting and it's *BAD*.

Replies made in one group will not be visible in the other groups, which
may cause multiple people to respond to a question with the same answer
because they didn't know someone else had already done it.

This is a waste of time.
-----

What is the accepted way to share a message across multiple newsgroups?
http://smjg.port5.com/faqs/usenet/xpost.html

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
mik311y said:
I am on Windows Media center and I am trying to create a desktop.ini
file for a new folder. I know exactly what I want in it.......

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=127

While logged in as an admin I am creating this file in note pad and
doing a save as Desktop.ini with all file types selected. I then go to
dos and "attrib +h +s desktop.ini". I then refresh the desktop and log
off and but for some reason the icon will never change. I even tried
copying a windows created desktop.ini file into the folder and it still
does not work. What am I over looking or not doing when I am creating
this file? Any help would be great

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
mik311y said:
Creating Desktop.ini files


I am on Windows Media center and I am trying to create a desktop.ini
file for a new folder. I know exactly what I want in it.......

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=127

While logged in as an admin I am creating this file in note pad and
doing a save as Desktop.ini with all file types selected. I then go to
dos and "attrib +h +s desktop.ini". I then refresh the desktop and log
off and but for some reason the icon will never change. I even tried
copying a windows created desktop.ini file into the folder and it still
does not work. What am I over looking or not doing when I am creating
this file? Any help would be great
 
M

mik311y

First of all let me say sorry about not crossposting. I did not realize
it was possible to hit multiple groups with one post. I see your point,
now I cannot reply to the post on mutiple group. Or can I? I was not
aware that all of these sites actually pointed at microsoft web site.
It is ambiguous using google group, unless you know how the group names
work.
I am just new to the news group thing. sorry again.

Well the reason I am using a .ini file is that I moved my shared
documents folder to another drive. I am trying to recreate the
desktop.ini folder for it and the other shared folders in that
directory to give it the same look and feel. Since this is a shell
folder I am under the impression and it seems to true that your method
does not work. It seems though my problem lies in creating or with the
the attributes of the desktop.ini file because I cannot even create a
dummy folder on the desktop and change the icon using the desktop.ini
method. I read the following article about desktop.ini

http://msdn.microsoft.com/library/d...hell_basics/shell_basics_extending/custom.asp

I know what the code should be for the desktop.ini file I want but
maybe I have a syntax error or something.so if you have any other
suggestions that would be great.
 
K

Ken Blake, MVP

mik311y said:
First of all let me say sorry about not crossposting. I did not
realize it was possible to hit multiple groups with one post. I see
your point, now I cannot reply to the post on mutiple group. Or can
I? I was not aware that all of these sites actually pointed at
microsoft web site. It is ambiguous using google group, unless you
know how the group names work.
I am just new to the news group thing. sorry again.



Googlegroups is a great way to search the newsgroups for prior postings.
It's a very poor way of actively participating in the newsgroups. The
Microsoft web site is a similarly poor way of participating.

Do yourself a favor and switch to a newsreader, such as Outlook Express,
which comes with Windows. See
http://www.michaelstevenstech.com/outlookexpressnewreader.htm
 
D

David Candy

It should be read only. System is used if you want a dialog warning about deletion or read only needs a work around.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

stray Desktop.ini 1
Desktop.ini deletable? 14
Creating Desktop.ini files 5
Desktop.ini??? 4
Desktop.ini 4
chang icon on folder 4
Shared Documents Folder now called Documents 3
desktop.ini everywhere 18

Top