KnowledgeTree

Bunch of Technology Solution

How To Delete SubFolder in Team Foundation Server


Suppose you have two directory, Directory Root and Directory SubRoot as a Subfolder, and you would like to delete the Subfolder directory B.

In the visual studio command prompt, open <Drive>:\Program Files\Microsoft Visual Studio 8\Common7\IDE and run the command

tf.exe delete /lock:none /recursive “Root\SubRoot”

If you have more folders below the Subfolder SubRoot, then those also will be marked for deletion, for that /recursive is used.

Once done this, we need to checkin the pending changes, for that run the command

tf.exe checkin /recursive “Root\SubRoot”

This will checkin the pending delete changes and remove the folder from the repository and workspace.

 -Thanks

February 11, 2010 - Posted by | Team Foundation Server | , , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: