I made a batch file to delete all the files from a directory and all his subdirectory. The batch file basically erase everything and copy some content from the network to a specific workstation everyday.
My question is how can i delete the directory also the script delete all the files in it and will copy all the data after this is working fine but i want to make sure the directory are deleted also in the procedure like this if a subdirectory doesnt exist anymore it wont leave it there.
Thanks,
My question is how can i delete the directory also the script delete all the files in it and will copy all the data after this is working fine but i want to make sure the directory are deleted also in the procedure like this if a subdirectory doesnt exist anymore it wont leave it there.
Thanks,