Recently, students in the computer room often use USB flash drives to copy games onto the computers. Since restore cards are installed, the contents of drive C: are restored every time the machines reboot, but the contents of drives d: and e: often have to be deleted manually, which is very inconvenient. Taking advantage of this rework of the computer room, I added a batch file to the c: drive of the student machines. From now on, the teacher machine only needs one mouse click to make all the student machines run this batch file and that's OK.
The contents are as follows:
cmd /c
del d:\. /s /q /f
rd d:\. /s /q
del e:\. /s /q /f
rd e:\. /s /q
The contents are as follows:
cmd /c
del d:\. /s /q /f
rd d:\. /s /q
del e:\. /s /q /f
rd e:\. /s /q
