1.

Solve : attrib /s output batch file question?

Answer»

To give you a little background as to what I'm trying to do. Our company uses Thunderbird for the default mail client. There is a problem with the mimetypes.rdf file located in each local user profile on each PC. From what I've gathered it's a known problem for certain mime types.

Anyway, we've come up with a fix/change to the mimetypes.rdf file that seems to work for our situation. I have ~75 PCs I need to deploy this out to. I'd like to do it using our log on script and a batch file.

I'm more or less a novice at writing batch files, so take it easy on me. If there is a better for what I'm trying to accomplish PLEASE let me know.

My thought process is to use something along the following to make this work:

cd C:\documents and settings\%username%\thunderbird\profiles
attrib /s mimetypes.rdf

Then use the DIRECTORY gained form above in a VARIABLE of some sort so I have a location to copy the fixed mimetypes.rdf file.

The reason I must use attrib /s mimetypes.rdf is because the profile directory for thunderbird is DIFFERENT, just as it is with firefox. Environmental variable or something, I can't remember now. So it's not the same directory on any PC or for any user.

If SOMEONE could help it would be greatly appreciated.

Thanks in advance



Discussion

No Comment Found