jquintino Posted January 18, 2005 Share Posted January 18, 2005 hello to all againthere is a way to associate pdf files to pdfreader withou run the program.i try to run unattended installation and after kill it but dont work.i now there is away by registry but i working on xp_pt_prothanks for help Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 18, 2005 Share Posted January 18, 2005 search for "registering file extensions unattended" B) Link to comment Share on other sites More sharing options...
jquintino Posted January 18, 2005 Author Share Posted January 18, 2005 i read all the topic but nothing Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 18, 2005 Share Posted January 18, 2005 (edited) that topic will give you an idea on how to do it... hands at work:@echo offM Short %PF% VariableFOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sAREG ADD "HKLM\SOFTWARE\Classes\.pdf" /VE /D "AcroExch.Document" /FREG ADD "HKLM\SOFTWARE\Classes\AcroExch.Document\shell\open\command" /VE /D "%SHORTPF%\Adobe\Acrobat 7.0\Reader\AcroRd32.exe \"%%L\"" /F Edited January 18, 2005 by SiMoNsAyS Link to comment Share on other sites More sharing options...
prathapml Posted January 18, 2005 Share Posted January 18, 2005 jquintino, here you go - link. Link to comment Share on other sites More sharing options...
jquintino Posted January 18, 2005 Author Share Posted January 18, 2005 thanks i gona try Link to comment Share on other sites More sharing options...
jquintino Posted January 18, 2005 Author Share Posted January 18, 2005 if i use this string@echo offM Short %PF% VariableFOR %%A IN ("%PROGRAMAS%") DO SET SHORTPF=%%~sAREG ADD "HKLM\SOFTWARE\Classes\.pdf" /VE /D "AcroExch.Document" /FREG ADD "HKLM\SOFTWARE\Classes\AcroExch.Document\shell\open\command" /VE /D "%SHORTPF%\PDFREADER\PDFReader.exe \"%%L\"" /Fgives me a error acesse denied to that file i using xp _pt_pro with admin login. this should work with any xp pro ? 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