How to delete files/subfolders in a specific directory at command prompt in Windows
We are in the middle of a data migration project. After we migrate the data to the new file server, we need to go back and delete the files to free up space on the old server.
Since the old server is a NAS not a windows box I have to browse to the location and delete all files and folders under that share that was just moved.
Using the windows UI can take a long time to delete the files and can cause issues with thumbs.db
I know I could do this with powershell too, but it’s just too quick and easy from cmd
RMDIR "FOLDERNAME" /S /Q
More Stories
Collection of build numbers
I feel like I'm always looking for an applications history of builds. Sometimes its for windows 10 others for different...
Running office365 on non-persistent VDI desktops
We are working on building our our win10 image with o365 and onedrive. I'm capturing a few links I found...
how to delegate rights to manage printers
Here are some helpful post on setting up delegation on print servers, this includes some powershell scripts to help.
How to configure powershell for o365
Everytime you get a new computer you have to download the latest powershell modules for o365 and it seems like...
online technical training
I've had a few new employees and current employees looking for training on Cisco and Linux training lately. I start...
How to Send Email Using Telnet
At Least 2 or 3 times a year I have to test email via a telnet session. You'd think I'd...