I've got a secret. Don't tell anyone.
I still use the command line for everything; I only use PowerShell when I can't figure out how to do something with a batch script.
Seriously, don't tell anyone.
Keep it real; I'm not the only one.
One of the things that has always bothered me about the MOVE command is that when moving a whole directory, if it encounters a problem with one of the files, the whole thing fails.
I wrote a little application to deal with that. I'm using it to move my SQL transaction logs and backups from one location to another.
Basically, it gets a list of files from a path (including UNC) and moves them one at a time and just keeps going if it hits a file it has trouble with.
Just download it!
Facebook Social Comments