GillouStyle03 Posted June 21, 2004 Posted June 21, 2004 The command (below), at the end of my batch.cmd file didnt work. The folder and its content remain intact after installation during first boot-up!ECHO Removing Temporary filesrd /s /q "%systemdrive%\install"Any suggestions?
lordflyingpoo Posted June 21, 2004 Posted June 21, 2004 there may be a program, etc. still running when the command to remove the directory is started.
GillouStyle03 Posted June 21, 2004 Author Posted June 21, 2004 i dont get anything @ anytime! the programs install fine, just this command seem not to be done
lordflyingpoo Posted June 21, 2004 Posted June 21, 2004 have you tried to run it at system startup using runonceex?
lordflyingpoo Posted June 21, 2004 Posted June 21, 2004 check out runonceex and modify it so it executes that command at first boot.
jp2002 Posted June 22, 2004 Posted June 22, 2004 Try removing the ECHO OFF, etc and put a PAUSE at the end of your batch file to help debugging the problem.
GillouStyle03 Posted June 22, 2004 Author Posted June 22, 2004 Try removing the ECHO OFF, etc and put a PAUSE at the end of your batch file to help debugging the problem.Where ECHO OFF?
wildchild Posted June 22, 2004 Posted June 22, 2004 he is assuming that you have an@echo offstatement at the beginning of your batch script, if you don't, you can safely ignore his suggestion.(@echo hides the commands being executed from the window)
WwTIPPYwW Posted June 22, 2004 Posted June 22, 2004 does it not work at all? OR is it removing files and then you have your PC reboot, so it doesn't have enough time to finish?SUGGESTION - install your apps from the CD. Its faster in that you don't spend time copy the files to the HD and then time to delete them.It is pretty easy to do too.
GillouStyle03 Posted June 22, 2004 Author Posted June 22, 2004 I used RunOnceEx as AthlonXP2100 advised me.. and i'll suggest you to read my new topic : >> http://www.msfn.org/board/index.php?showtopic=21235
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