The following example displays the mappings for the workspace in which c:\projects resides.
The following example maps the root of your Team Foundation source control server to the current directory.
c:\projects>tf workfold $/ .
The following example cloaks the c:\projects\lib folder.
c:\projects>tf workfold /cloak c:\projects\lib
The following example displays the mapping for the local file word.cs.
c:\projects>tf workfold word.cs
The following example maps the folder C:\DifferentWorkfold to the Team Foundation source control server folder $/projects/project_one and deletes previous workspace mapping for the $/projects/project_one Team Foundation source control server folder.
c:\projects>tf workfold $/projects/project_one C:\DifferentWorkfold