title: Batch export in SAS for spk file
body: <p>I need to export/import my spk file via windows Batch script.</p>
  
  <p>For which I have been referring <a href="https://documentation.sas.com/?docsetId=bisag&amp;docsetTarget=n008xsxs34mvcwn1qrgcmugpzu6i.htm&amp;docsetVersion=9.4&amp;locale=en" rel="nofollow noreferrer">this document</a></p>
  
  <p>But this document does not mention how to save the file (I mean with which extension <code>.bat</code> or <code>.sas</code>)</p>
  
  <p>My command:</p>
  
  <pre><code>ExportPackage -profile "SAS_MW_TEST" -package "F:\mypath\Package4.spk" -objects "/_Applications/_05_MW/_01_SAS_MW/_20_Processes/savedesk(Folder)" -subprop -types "Condition,BusinessRuleFlow,ExternalFile,Cube,SearchFolder,Table,GeneratedTransform,OLAPSchema,InformationMap.OLAP,Measure,Column,Job.CubeBuild,Action,Library,MiningResults,DeployedJob,CalculatedMeasure,Hierarchy,InformationMap.Relational,RootFolder,Prompt,Document,ConditionActionSet,DecisionLogic,Dimension,Note,StoredProcess,PromptGroup,Job,OrchestrationJob,MessageQueue,Service.SoapGenerated,Level,SharedDimension,DeployedFlow"
  </code></pre>