[THIN] Re: Restore file associations after uninstall PNAgent

  • From: "Evan Mann" <emann@xxxxxxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 31 Jan 2006 08:37:10 -0500

Excellent.  This should work nicely.  Just need to trim it down to the
apps effected, but still way less work then doing it through file types.
 
 

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of thinlist@xxxxxxxxx
Sent: Tuesday, January 31, 2006 8:14 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Restore file associations after uninstall PNAgent


Rick Mack had a script posted here before that saved and restored file
associations. Maybe you could take a save from a working computer and
restore it on the failed one.
 
@echo off
:: saveassoc.cmd - save system file associations in a format so they can
be restored
 
for /f "delims=*" %%i in ('assoc') do @echo assoc %%i >> fixassoc.cmd
for /f "delims=*" %%i in ('ftype') do @echo ftype %%i >> fixassoc.cmd
 
:done


 
On 1/30/06, Evan Mann <emann@xxxxxxxxxxxxxxxxxxxxx > wrote: 

        I have uninstalled PNAgent a bunch of users computers because
they have moved offices and no longer use Citrix.  However, the file
associations for content redirection for apps such as MS Office are
still pointed to the Citrix agent.  Is there some easy way in one shot
to restore this on each computer, or am I stuck going into File Types
and selecting the local program for each file extension? 



Other related posts: