RD /S /Q "C:\Users\XXXX\Desktop\YYYYYYYYY" Here are the last 3 lines: cd C:\Users\XXXX\Desktop I modified the batch to run these out of a single directory that I place on the desktop, and it deleted the folder when it's done, but it's lost the ability to reboot. ![]() Right now, I have to select multiple files, throw them on the new desktop, and run them there. I am using this for certain configs on new machines I set up. Here's what I have: A batch file that calls out other batch files, deletes the files at the end, and reboots the computer. I see answers here to parts of my question, but none that covers it all together.
0 Comments
Leave a Reply. |