In class we have this program called Wave Interactive, it contains tests questions similiar to those on the A+ Exam. The program, Wave Interactive, saves a file called Student.mdb that stores all the test taken information, grades and whatnot. Well this is only useful for the days we take the test then we want to start with a clean slate. Currently we just reinstall the program, it is fairly simple and quick. However I wanted to create a batch file that would automatically delete and copy over a blank slate stored elsewhere on the drive. So far this is what I have
echo off
cd\
cd Program Files
cd Wavetech
cd tests
del Student.mdb
cd..
copy Student.mdb C:\Program Files\Wavetech\tests
exit
As you can see the file is at C:\Program Files\Wavetech\tests\Student.mdb for the clean slate I stored it one level up at C:\Program Files\Wavetech\Student.mdb . My batch file deletes the original just fine, but it won't copy over the clean slate file. All machines are running Windows XP Pro and when we test we are logged in as administrator. Can anyone help me, I consulted Computer Hope with no luck.
[size=92][color=#0000FF]Hugh Hefner for President[/color][/size]