title: Batch script used to delete all files and folders inside of a student drive (G)
body: <p>Hello this is my first post so here goes nothing. I'm currently working on a task with a supervisor where he wants me to create a Batch script that will whip out all the contents in a student (G) drive. When I run this command it only deletes files. Folders and applications do not get removed at all.</p>
  
  <p>This is what I put in my .bat script</p>
  
  <pre><code>forfiles -p "G:\" -s -m *.* /D -0 /C "cmd /c del @path"
  </code></pre>