attrib -r c:\temp\*.*
copy c:\Embedded\*.* c:\temp\*.*

attrib -r c:\Embedded\*.*
del c:\Embedded\*.* < y.dat

attrib -r c:\Embedded\Firmware\*.*
del c:\Embedded\Firmware\*.* < y.dat

rem cd \Embedded
copy *.* c:\Embedded\*.*
attrib -r c:\winnt\profiles\alluse~1\startm~1\Programs\startup\*.*
copy c:\Embedded\Updater.exe c:\winnt\profiles\alluse~1\startm~1\Programs\startup

cd Firmware
copy *.* c:\Embedded\Firmware\*.*

cd \Embedded

Restart.exe