jquintino Posted January 18, 2005 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
SiMoNsAyS Posted January 18, 2005 Posted January 18, 2005 search for "registering file extensions unattended" B)
SiMoNsAyS Posted January 18, 2005 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
jquintino Posted January 18, 2005 Author 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 ?
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