Halfwalker Posted January 13, 2006 Posted January 13, 2006 (edited) OK, I've had a couple of very late working nights, so I must be missing something painfully obvious here ... In my install script, I have the following chunk at the end ...for /D %%i in (*) do ( %%i\installit.cmd %%~ni %DIR%%%i %KEY% if exist "%DIR%%%i\finishup.cmd" REG ADD %KEY%\%%~ni /V 99 /D "%DIR%%%i\finishup.cmd %DIR%%%i" if exist "%DIR%%%i\Application.html" copy /y "%DIR%%%i\Application.html" "%systemroot%\Config\%%i.html")echo "OK - all done"pause%DIR% and %KEY% are both set higher up. The problem is that it never reaches the "OK - All done" echo statement. I see the last copy command just fine, and then the batchfile just ends. It doesn't do the expected Pause to hit any key, just returns to the prompt.I know it's going to be a forehead slapper, but I don't see it just now through my blurred vision ...D.[Edit - Putting it into the Programming forum - thanks. Hrm, how do I remove/move this thread ?] Edited January 13, 2006 by Halfwalker
net_user Posted January 13, 2006 Posted January 13, 2006 this should be in the programming forum.....
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now