Astalavista, there is a pretty comprehensive website dealing with batch files and scripting. It has been mentioned here in the forums before. Check out: http://www.robvanderwoude.com/ Zolcos, to get a Y or N to work in a batch file try: echo Y|RD /S /Q %SYSTEMDRIVE%\INSTALLTEMP You should not really need it as MCT suggests but if you can't get it to work, try the above line.