bodybags Posted August 10, 2006 Posted August 10, 2006 (edited) I love this program for batch files sure makes things easier. Here are the things im running into.I have the version 2.6.1.01) When i go to update database it says cannot create file "c:\program files\runonceex.cmd creator\". The system cant not find specified path. i left everything default during install any ideas?2) When i do a databse add, on the first screen its set to %SystemDrive%\Install\ than i click database add, i enter in the program Symatec Corp 9. Now i know in the program field is says find path so should it be %systemdrive%\install\Sav\setup\ or systemdrive%\install\Sav\setup\Symantec AntiVirus.msi\ and do i need the " This is my finished product.@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Symantec Antivirus Corporate 9" /fREG ADD %KEY%\000 /V 1 /D "%PP%%systemdrive%\install\Sav\setup\"Symantec AntiVirus.msi\" /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /fEXITWhen looking at others they dont have the %pp% in them.3) Plus when saving them it asks me to save them again on exit any idea on that? Edited August 10, 2006 by bodybags
bodybags Posted August 10, 2006 Author Posted August 10, 2006 Ok i feel kinda new but figured out why it was different pp points to the default directory. But anyway still need help with 1 and 3 please.
T D Posted August 11, 2006 Posted August 11, 2006 (edited) Seriously! Whew! The %PP% is there so u don't need to put in the %systemdrive%\Install !When there is a command "SET xx=asdfgh"u can type anywhere in the batch %xx% instead of asdfgh as the batch will translate %xx% as asdfgh because of how xx was set as asdfgh.This is the correct code.REG ADD %KEY%\000 /V 1 /D "\"%PP%\Sav\setup\Symantec AntiVirus.msi\" /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /fAs to 3) obviously because u edited it between saving it and exiting.And this forum requires a more detailed title than "Questions please help". (as so aptly put by Takeshi) Edited August 11, 2006 by T D
bodybags Posted August 11, 2006 Author Posted August 11, 2006 No on question 3 is i didnt change at all. I added the the database than clicked saved than exit. I did no changes between it. So it must be wanting me to save it twice. but thanks for reply.
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