SiMoNsAyS Posted August 24, 2004 Posted August 24, 2004 i'm currently writing a guide on how to install firefox unattended with extensions, themes and configs pre-stored. but i need an application to write in a file the path of the application.for exampleif %PROGRAMFILES% it's C:\Program Files\ then write into C:\apps.txt "C:\Program Files\"if %PROGRAMFILES% it's D:\Program Files\ then write into D:\apps.txt "D:\Program Files\"and so on...it's this posible from a batch file?? do anyone know any application that can do this?
XtremeMaC Posted August 24, 2004 Posted August 24, 2004 (edited) u could use batchif exist "c:\program files"copy apps.txt c:\progra....or if not exist "c:\program files"copy apps.sts d:\program files...I think? but how r u supposed to write the path? can firefox read it like this?doesn't it have a predefined method of storing relative paths? Edited August 24, 2004 by XtremeMaC
mazin Posted August 24, 2004 Posted August 24, 2004 You can use redirection symbols in a batch file to do it: > or >>
SiMoNsAyS Posted August 25, 2004 Author Posted August 25, 2004 i'll try to explain it better, well firefox write a file called chrome.rdf and there stores path to themes and extensions for example jar:file:///C:/Documents%20and%20Settings/BARTON/Datos%20de%20programa/Mozilla/Firefox/Profiles/default.bio/extensions/%7B9f08cb5a-76b1-4bcf-aff9-90e1a5d60b1e%7D/chrome/Noia2_Full_2.73-1.jar!/browser/. problem goes when the installation it's in another user or in another drive. what i want it's "something" that can read the %APPDATA% path and store it in the .rdf (text) file.
mazin Posted August 25, 2004 Posted August 25, 2004 You can try XtremeMaC's, first. I hope I understand you well.
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