ajcrewmisfit Posted July 6, 2004 Share Posted July 6, 2004 (edited) ok so here is what i am trying to do. i have already automated the install of a piece of software. the install, however, taks TIF and TIFF files and changes the settings so that Windows will open this new program for the TIF and TIFF files. We dont want this, so we obviously want to change them back.... automatically. So i do the following: explorer>> tools >> folder options >> file types >> then i click into "registered file types" box >> Send("T") >> ????? ???? = how do i know that it is on TIF? Each machine i will be installing on is different say they MIGHT have a different number of file extensions that start with the letter T. Also, once i change these settings it takes windows a little while to change all the files... so far i just have the script sleep for 3 seconds or so... but is there a more intuitive way to handle this? i'm not giving up on this problem, but i'd liketo fix this by 4:00 or so... if anyone can help my lame a** it woul dbe much appreciated =) Edited July 6, 2004 by ajcrewmisfit ------------------------------------------------------------------If it were up to me, all computer stuff would work Link to comment Share on other sites More sharing options...
emmanuel Posted July 6, 2004 Share Posted July 6, 2004 look to what's being changed, not what's doing the changing. look for the info that needs to be changed in the registry to change the association. then use regwrite to fix it. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
ajcrewmisfit Posted July 6, 2004 Author Share Posted July 6, 2004 damn... i actually wouldnt know where to look to change the registry =P i'm searching through it and i'm not sure... i'm gonna try google to i guess for that one ------------------------------------------------------------------If it were up to me, all computer stuff would work Link to comment Share on other sites More sharing options...
emmanuel Posted July 6, 2004 Share Posted July 6, 2004 yeah, it sounded so easy when I said it, you'd think there'd be some easy place for that... "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Valik Posted July 6, 2004 Share Posted July 6, 2004 It's called HKEY_CLASSES_ROOT\.tif and it's subkeys and likely whatever ID the file type is referenced to. Link to comment Share on other sites More sharing options...
ajcrewmisfit Posted July 6, 2004 Author Share Posted July 6, 2004 hmm... earlier i changed it to some random value and none of those values changed though though. am i wrong? honestly... i dontknow a d4mn thing bout registry =P ------------------------------------------------------------------If it were up to me, all computer stuff would work Link to comment Share on other sites More sharing options...
emmanuel Posted July 6, 2004 Share Posted July 6, 2004 I added !FINDME! to the end of the Open command, then searched the registry for that, found HKEY_CLASSES_ROOT\MSPaper.Document\shell\Open\command "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now