Avatar billede stinesondre Nybegynder
24. august 2007 - 09:25 Der er 1 kommentar og
1 løsning

How to set File Association with a script

I have a problem on a Citrix farm. When the users try to open cartain files, the OS does not know which program the file should be opened with. An example of a file extention that is not corrctly associated is .jpg files. What I need to know is how to fix this. I have read someplace that you can fix it by setting some registry settings. I want to do this with a vbs script. What I need to know is which registry setting to change/add with my script..

Does someone have any experiense with scripts like this ?
Avatar billede stinesondre Nybegynder
29. august 2007 - 10:03 #1
Since nobody seems to ave an answer I will close this question
Avatar billede killerclown Nybegynder
29. august 2007 - 14:50 #2
Hi stinesondre !
the openwith keys are located in HKEY_CLASSES_ROOT\.jpg\OpenWithList
In here, you just add the program executable as a key

/Killer
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester