{"id":2053,"date":"2007-08-03T13:00:15","date_gmt":"2007-08-03T13:00:15","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2007\/08\/03\/tfs-2008-command-line-help-for-tf-exe-now-prints-to-the-console\/"},"modified":"2007-08-03T13:00:15","modified_gmt":"2007-08-03T13:00:15","slug":"tfs-2008-command-line-help-for-tf-exe-now-prints-to-the-console","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/tfs-2008-command-line-help-for-tf-exe-now-prints-to-the-console\/","title":{"rendered":"TFS 2008: Command line help for tf.exe now prints to the console"},"content":{"rendered":"<p>In TFS 2005 running help from tf.exe popped up the MSDN help browser.&nbsp; That was a bit lame, but we didn&#8217;t allocate the time to do it right.&nbsp; That&#8217;s been fixed in TFS 2008.<\/p>\n<p>Running tf.exe \/? produces a list of commands, and tf <em>someCommand<\/em> \/? produces detailed help on that command.<\/p>\n<p>Here are a couple of examples.&nbsp; These two commands are also new in TFS 2008.<\/p>\n<blockquote><p> <font face=\"Courier New\"><strong>D:\\&gt;tf destroy \/?<br><\/strong>TF &#8211; Team Foundation Version Control Tool<br>Copyright (c) Microsoft Corporation.&nbsp; All rights reserved. <\/font> <\/p>\n<p><font face=\"Courier New\">Destroys, or permanently deletes, version-controlled items from Team<br>Foundation version control. <\/font> <\/p>\n<p><font face=\"Courier New\">tf destroy [\/keephistory] itemspec1 [;versionspec]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [itemspec2&#8230;itemspecN] [\/stopat:versionspec] [\/preview]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [\/startcleanup] [\/noprompt] <\/font> <\/p>\n<p><font face=\"Courier New\">Versionspec:<br>&nbsp;&nbsp;&nbsp; Date\/Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dmm\/dd\/yyyy<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or any .Net Framework-supported format<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or any of the date formats of the local machine<br>&nbsp;&nbsp;&nbsp; Changeset number&nbsp; Cnnnnnn<br>&nbsp;&nbsp;&nbsp; Label&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Llabelname<br>&nbsp;&nbsp;&nbsp; Latest version&nbsp;&nbsp;&nbsp; T<br>&nbsp;&nbsp;&nbsp; Workspace&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wworkspacename;workspaceowner<br><strong><\/strong><\/font><\/p>\n<p><font face=\"Courier New\"><strong>D:\\&gt;tf folderdiff \/?<br><\/strong>TF &#8211; Team Foundation Version Control Tool<br>Copyright (c) Microsoft Corporation.&nbsp; All rights reserved. <\/font><\/p>\n<p><font face=\"Courier New\">Displays a visual representation of the differences between files in two server<br>folders, in a server folder and a local folder, or in two local folders. <\/font> <\/p>\n<p><font face=\"Courier New\">tf folderdiff [sourcePath] targetPath [\/recursive] [\/noprompt]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [\/server:serverName:port] [\/filter:filter]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [\/filterLocalPathsOnly]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [\/view:same,different,sourceOnly,targetOnly]<\/font><\/p>\n<\/blockquote>\n<div class=\"wlWriterSmartContent\" id=\"0767317B-992E-4b12-91E0-4F059A8CECA8:6dd1366d-bf79-459d-a4e5-0d6228fdc2c9\" style=\"padding-right: 0px;padding-left: 0px;padding-bottom: 0px;margin: 0px;padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/tfs\" rel=\"tag\">tfs<\/a>, <a href=\"http:\/\/technorati.com\/tags\/team%20foundation\" rel=\"tag\">team foundation<\/a>, <a href=\"http:\/\/technorati.com\/tags\/tfs%202008\" rel=\"tag\">tfs 2008<\/a>, <a href=\"http:\/\/technorati.com\/tags\/source%20control\" rel=\"tag\">source control<\/a>, <a href=\"http:\/\/technorati.com\/tags\/tf.exe\" rel=\"tag\">tf.exe<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In TFS 2005 running help from tf.exe popped up the MSDN help browser.&nbsp; That was a bit lame, but we didn&#8217;t allocate the time to do it right.&nbsp; That&#8217;s been fixed in TFS 2008. Running tf.exe \/? produces a list of commands, and tf someCommand \/? produces detailed help on that command. Here are a [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[6,8],"class_list":["post-2053","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-source-control","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>In TFS 2005 running help from tf.exe popped up the MSDN help browser.&nbsp; That was a bit lame, but we didn&#8217;t allocate the time to do it right.&nbsp; That&#8217;s been fixed in TFS 2008. Running tf.exe \/? produces a list of commands, and tf someCommand \/? produces detailed help on that command. Here are a [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/2053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=2053"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/2053\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=2053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=2053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=2053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}