Skip to content

Instantly share code, notes, and snippets.

@aleksp99
Last active April 30, 2022 11:04
Show Gist options
  • Save aleksp99/0c0ad806180918abd3fda3b4c799177b to your computer and use it in GitHub Desktop.
Save aleksp99/0c0ad806180918abd3fda3b4c799177b to your computer and use it in GitHub Desktop.
#1С #ConfigToFiles #PowerShell
$value = 'ПланСчетов.Хозрасчетный', 'ConfigDumpInfo', 'Configuration'
$folder = 'folder_1c'
$result = '<folder_result>'
$srv = '<srv>'
$ref = '<ref>'
#----------------------------------------------------------------------------------------
$listFile = Join-Path $result 'listFile.txt'
$value | Out-File $listFile
Set-Location $folder
.\1cv8.exe DESIGNER /S$srv\$ref /DumpConfigToFiles $result -Format Plain -listFile $listFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment