|
Answer» The FOLDER will be name "Scans" but I need the CONTENT to be deleted within the folder and ALSO I need it to run when the computer starts up. How do I write a batch file for this, some examples? Thanks.Easy
make a batch file open notepad enter the codes save it as del.bat and copy it to STARTUP folder.
Code: [Select]echo off Del "drive:\path\scans\*.*" echo *** *** *** &&&& || || echo *** *** *** &&_ ||__|| echo *** *** *** && || || echo ***** *** &&&& || || echo ________________________________________ echo echo Files are being deleteing will take very short time.
ping -n 1 -W 5000 1.1.1.1 >nul
please let me know the path or destination folder address. Change it by your self.
All set.
Thanks and regards vishuThanks I will try.vish do you now that will
Code: [Select]echo *** *** *** &&&& || || echo *** *** *** &&_ ||__|| echo *** *** *** && || || echo ***** *** &&&& || || echo ________________________________________ will contain plenty of syntax errors
|