{"id":1798,"date":"2017-06-12T10:23:46","date_gmt":"2017-06-12T09:23:46","guid":{"rendered":"https:\/\/www.threesl.com\/blog\/?p=1798"},"modified":"2022-12-07T13:23:37","modified_gmt":"2022-12-07T13:23:37","slug":"publish-formal-document-using-batch-file","status":"publish","type":"post","link":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/","title":{"rendered":"Publish a Formal Document Using a Batch File"},"content":{"rendered":"<h2>Running Document Publisher in the Background<\/h2>\n<p>Publishing a <em>Draft<\/em> or <em>Formal Document<\/em> can take time. If you need to use <em>Microsoft\u00ae Word<\/em> for other work, is a nuisance when having to wait.<\/p>\n<p>Users can run a batch file to create the documents either as a <em>Draft<\/em> and\/or as a <em>Formal document<\/em>. The batch file can be used in a <a href=\"https:\/\/learn.microsoft.com\/en-gb\/windows\/win32\/taskschd\/task-scheduler-start-page?redirectedfrom=MSDN\"><em>task<\/em> <\/a>while the user is not using their computer; for example at night or a weekend if many documents are being generated.<\/p>\n<p>The command line needs to have all the options set the same as they would\u00a0 be through the UI (User Interface):<\/p>\n<figure id=\"attachment_1799\" aria-describedby=\"caption-attachment-1799\" style=\"width: 588px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1799\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png\" alt=\"Publish Formal Document User Interface\" width=\"588\" height=\"406\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png 588w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI-300x207.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><figcaption id=\"caption-attachment-1799\" class=\"wp-caption-text\">Publish Formal Document User Interface<\/figcaption><\/figure>\n<h2>Formal Document Command line Options<\/h2>\n<p>The normal batch file command line options for just a draft document are:<\/p>\n<figure id=\"attachment_1804\" aria-describedby=\"caption-attachment-1804\" style=\"width: 713px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1804\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/draft_options.png\" alt=\"Draft Options for batch file\" width=\"713\" height=\"131\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/draft_options.png 713w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/draft_options-300x55.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><figcaption id=\"caption-attachment-1804\" class=\"wp-caption-text\">Command Line Draft Options<\/figcaption><\/figure>\n<p>Each of the following shows what the command line options for each Formal option in the User Interface:<\/p>\n<figure id=\"attachment_1805\" aria-describedby=\"caption-attachment-1805\" style=\"width: 520px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1805\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/formal_options.png\" alt=\"Formal Options for batch file\" width=\"520\" height=\"224\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/formal_options.png 520w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/formal_options-300x129.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><figcaption id=\"caption-attachment-1805\" class=\"wp-caption-text\">Formal Options needed in a batch file<\/figcaption><\/figure>\n<p>All the above <samp>-fdoc<\/samp> options are requirements within the command line except <samp>-newversion<\/samp>. Only use the <samp>-newversion<\/samp> option, if a new version of the document is required.<\/p>\n<p>The final command line to generate the <em>DEMO Template<em> will look like this: <em>(NOTE: Options with more than a single word are required to be in quotes e.g. <samp>-fdoccomment<\/samp> &#8220;Published DEMO Template Using Batch File&#8221;)<\/em><\/em><\/em><\/p>\n<pre>\"%CRADLEHOME%\\bin\\exe\\windows\\DocPub.exe\" -login MANAGER,MANAGER,demo -file \"DEMO Template\" -location PROJECT -type DOCX -output \"C:\\Temp\\DEMO Template.doc\" -formal -fdocname \"DEMO Template\" -fdoctype REQUIREMENTS -fdoctitle \"DEMO Template\" -fdocissue 1 -fdocdate Jun -fdocref DEMO1 -fdocclass UNCLASSIFIED -fdoccomment \"Published DEMO Template Using Batch File\" \u2013log<\/pre>\n<p>Any template that generates through Document Publisher can generate through a batch file.<\/p>\n<p>As you can see in the command window below, 3 templates are being generated, a <em>doc<\/em>, a <em>docx<\/em> and a <em>docm<\/em>.<\/p>\n<figure id=\"attachment_1818\" aria-describedby=\"caption-attachment-1818\" style=\"width: 931px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1818\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/cmd_window.png\" alt=\"Command line window\" width=\"931\" height=\"277\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/cmd_window.png 931w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/cmd_window-300x89.png 300w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/cmd_window-768x229.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption id=\"caption-attachment-1818\" class=\"wp-caption-text\">Command Window showing 3 types of document being generated<\/figcaption><\/figure>\n<p>Once the documents are generated, they can be seen in <em>WorkBench<\/em> in the <em>Project sidebar<\/em> under the <em>Formal Document<\/em> sections:<\/p>\n<figure id=\"attachment_1819\" aria-describedby=\"caption-attachment-1819\" style=\"width: 269px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1819\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/Project_sidebar_formal_Documents.png\" alt=\"Project sidebar Formal Documents sections\" width=\"269\" height=\"466\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/Project_sidebar_formal_Documents.png 269w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/Project_sidebar_formal_Documents-173x300.png 173w\" sizes=\"auto, (max-width: 269px) 100vw, 269px\" \/><figcaption id=\"caption-attachment-1819\" class=\"wp-caption-text\">Project sidebar &#8211; Formal Documents sections showing the 3 generated documents<\/figcaption><\/figure>\n<h2>Using parameters within a batch file<\/h2>\n<p>The great thing about using a command line batch file is that <a href=\"https:\/\/www.threesl.com\/cradle\/help\/7.2\/Document%20Publisher\/New\/Other\/parametrics.htm\">parameters<\/a> can be set, as long as the template has parameters setup. This means you can run the same document many times but use different parameters for each run with a different document output name. For example if you used <samp>?reqID<\/samp> within the <em>Key<\/em> or <em>Identity<\/em> you could output different <em>Requirement Documents<\/em>.<\/p>\n<aside class=\"mashsb-container mashsb-main mashsb-stretched\"><div class=\"mashsb-box\"><div class=\"mashsb-buttons\"><a class=\"mashicon-twitter mash-small mash-center mashsb-noshadow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=&amp;url=https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/&amp;via=threesl\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Tweet<\/span><\/a><a class=\"mashicon-facebook mash-small mash-center mashsb-noshadow\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.threesl.com%2Fblog%2Fpublish-formal-document-using-batch-file%2F\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Share<\/span><\/a><a class=\"mashicon-subscribe mash-small mash-center mashsb-noshadow\" href=\"#\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Newsletter<\/span><\/a><div class=\"onoffswitch2 mash-small mashsb-noshadow\" style=\"display:none\"><\/div><\/div>\n            <\/div>\n                <div style=\"clear:both\"><\/div><\/aside>\n            <!-- Share buttons by mashshare.net - Version: 4.0.47-->","protected":false},"excerpt":{"rendered":"<p>Running Document Publisher in the Background Publishing a Draft or Formal Document can take time. If you need to use Microsoft\u00ae Word for other work, is a nuisance when having to wait. Users can run a batch file to create the documents either as a Draft and\/or as a Formal document. The batch file can &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Publish a Formal Document Using a Batch File&#8221;<\/span><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[6],"tags":[274],"class_list":["post-1798","post","type-post","status-publish","format-standard","hentry","category-tips","tag-document-publisher"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Formal Document publishing Using command lines in a Batch File<\/title>\n<meta name=\"description\" content=\"How to use Cradle&#039;s Document Publisher to publish one formal document or many formal documents using command lines in a batch file.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Formal Document publishing Using command lines in a Batch File\" \/>\n<meta property=\"og:description\" content=\"How to use Cradle&#039;s Document Publisher to publish one formal document or many formal documents using command lines in a batch file.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/\" \/>\n<meta property=\"og:site_name\" content=\"3SL Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/3SLCradle\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-12T09:23:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-07T13:23:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png\" \/>\n<meta name=\"author\" content=\"Mikki Hall\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mikki_uk\" \/>\n<meta name=\"twitter:site\" content=\"@threesl\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mikki Hall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/\"},\"author\":{\"name\":\"Mikki Hall\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/3838d388b1f271f95339aeb2034e19b1\"},\"headline\":\"Publish a Formal Document Using a Batch File\",\"datePublished\":\"2017-06-12T09:23:46+00:00\",\"dateModified\":\"2022-12-07T13:23:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/\"},\"wordCount\":402,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/publish_formal_document_UI.png\",\"keywords\":[\"Document Publisher\"],\"articleSection\":[\"Hints &amp; Tips\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/\",\"name\":\"Formal Document publishing Using command lines in a Batch File\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/publish_formal_document_UI.png\",\"datePublished\":\"2017-06-12T09:23:46+00:00\",\"dateModified\":\"2022-12-07T13:23:37+00:00\",\"description\":\"How to use Cradle's Document Publisher to publish one formal document or many formal documents using command lines in a batch file.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/publish_formal_document_UI.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/publish_formal_document_UI.png\",\"width\":588,\"height\":406,\"caption\":\"Publish Formal Document User Interface\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/publish-formal-document-using-batch-file\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Publish a Formal Document Using a Batch File\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"name\":\"3SL Blog\",\"description\":\"From concept to creation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\",\"name\":\"3SL\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"width\":152,\"height\":80,\"caption\":\"3SL\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/3SLCradle\",\"https:\\\/\\\/x.com\\\/threesl\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/3838d388b1f271f95339aeb2034e19b1\",\"name\":\"Mikki Hall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c8ae2c18a88ce092f11f35245045093a73cabeabe55aa8ac868b1681ddd2c3dc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c8ae2c18a88ce092f11f35245045093a73cabeabe55aa8ac868b1681ddd2c3dc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c8ae2c18a88ce092f11f35245045093a73cabeabe55aa8ac868b1681ddd2c3dc?s=96&d=mm&r=g\",\"caption\":\"Mikki Hall\"},\"sameAs\":[\"https:\\\/\\\/www.threesl.com\\\/\",\"https:\\\/\\\/x.com\\\/mikki_uk\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Formal Document publishing Using command lines in a Batch File","description":"How to use Cradle's Document Publisher to publish one formal document or many formal documents using command lines in a batch file.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/","og_locale":"en_GB","og_type":"article","og_title":"Formal Document publishing Using command lines in a Batch File","og_description":"How to use Cradle's Document Publisher to publish one formal document or many formal documents using command lines in a batch file.","og_url":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/","og_site_name":"3SL Blog","article_publisher":"http:\/\/facebook.com\/3SLCradle","article_published_time":"2017-06-12T09:23:46+00:00","article_modified_time":"2022-12-07T13:23:37+00:00","og_image":[{"url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png","type":"","width":"","height":""}],"author":"Mikki Hall","twitter_card":"summary_large_image","twitter_creator":"@mikki_uk","twitter_site":"@threesl","twitter_misc":{"Written by":"Mikki Hall","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#article","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/"},"author":{"name":"Mikki Hall","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/3838d388b1f271f95339aeb2034e19b1"},"headline":"Publish a Formal Document Using a Batch File","datePublished":"2017-06-12T09:23:46+00:00","dateModified":"2022-12-07T13:23:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/"},"wordCount":402,"publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png","keywords":["Document Publisher"],"articleSection":["Hints &amp; Tips"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/","url":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/","name":"Formal Document publishing Using command lines in a Batch File","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#primaryimage"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png","datePublished":"2017-06-12T09:23:46+00:00","dateModified":"2022-12-07T13:23:37+00:00","description":"How to use Cradle's Document Publisher to publish one formal document or many formal documents using command lines in a batch file.","breadcrumb":{"@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#primaryimage","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/06\/publish_formal_document_UI.png","width":588,"height":406,"caption":"Publish Formal Document User Interface"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threesl.com\/blog\/publish-formal-document-using-batch-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threesl.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Publish a Formal Document Using a Batch File"}]},{"@type":"WebSite","@id":"https:\/\/www.threesl.com\/blog\/#website","url":"https:\/\/www.threesl.com\/blog\/","name":"3SL Blog","description":"From concept to creation","publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threesl.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.threesl.com\/blog\/#organization","name":"3SL","url":"https:\/\/www.threesl.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","width":152,"height":80,"caption":"3SL"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/3SLCradle","https:\/\/x.com\/threesl"]},{"@type":"Person","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/3838d388b1f271f95339aeb2034e19b1","name":"Mikki Hall","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/c8ae2c18a88ce092f11f35245045093a73cabeabe55aa8ac868b1681ddd2c3dc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c8ae2c18a88ce092f11f35245045093a73cabeabe55aa8ac868b1681ddd2c3dc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c8ae2c18a88ce092f11f35245045093a73cabeabe55aa8ac868b1681ddd2c3dc?s=96&d=mm&r=g","caption":"Mikki Hall"},"sameAs":["https:\/\/www.threesl.com\/","https:\/\/x.com\/mikki_uk"]}]}},"modified_by":"Jan Lamb","_links":{"self":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/1798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/comments?post=1798"}],"version-history":[{"count":16,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/1798\/revisions"}],"predecessor-version":[{"id":8017,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/1798\/revisions\/8017"}],"wp:attachment":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/media?parent=1798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/categories?post=1798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/tags?post=1798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}