Geeks With Blogs
Scott Van Vliet Once a Developer, Always a Developer

Here's a quick tip: if you need to move multiple files or folders in Team Explorer, it's not possible to select multiple and click 'Move' from the context menu. However, you can accomplish this using the TF.exe Move command with a wildcard:

Syntax:

tf.exe move <itemspec> <destination>

Example:

tf.exe move $/Itd/Deployment/Builds/R1* $/Itd/Deployment/Builds/Archive

Sweet and simple! This one saved me a lot of time – Enjoy!

Posted on Friday, February 2, 2007 5:36 PM Team System | Back to top


Comments on this post: TF.exe Goodness – Move Multiple Files/Folders

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
Thanks for this. Couldn't believe it when I selected multiple files within source control explorer and the move option was greyed out, crazy!

Left by Tom Hall on Apr 03, 2009 9:27 AM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
you need to run the command from one of the mapped folders
Left by Satesh on Jul 07, 2010 5:56 PM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
Excellent suggestion! I have to do this all the time as source code administrator and this will save me some time. It's awesome that it even excludes the target if it is within the source.
Left by Jonlesada on Aug 18, 2011 6:06 AM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
using "move" will not retain the history of files. use "rename" instead.
Left by Rajat on Oct 12, 2011 1:41 AM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
What a very nice article, thank you. With Helloform Builder, you can create feedback form, job application form, survery form, contact form or any custom form that you want using contact form generator. You can build any number of forms you want with the form builder for a very cheap price.
Left by Ditz on Jun 13, 2015 8:15 PM

# re: TF.exe Goodness – Move Multiple Files/Folders
Requesting Gravatar...
I really like this idea. It works well. It just makes the work easier now. - Marla Ahlgrimm
Left by Jose Donnovanti on Jul 01, 2015 7:14 PM

Your comment:
 (will show your gravatar)


Copyright © svanvliet | Powered by: GeeksWithBlogs.net | Join free