REM ** Uploads 2 artifacts to one new created document (if not exists - otherwise append arts) in default workspace (api-key is defined in console.json) **
REM ** AppServer must be started first / this script must be run in same directory as BO.Console / SHOULD be run As Administrator **
@echo off
call setenv.cmd
set oldcd=%cd%
cd %BOPath% 
%BOConsole% user_getapikey -name:test -outt:var
%BOConsole% document_add -arts:%oldcd%\doc1_file1.bin;%oldcd%\doc1_file2.bin -force -user:test -akey:%bo_apikey% -akeyp:%bo_apipwd%
cd %oldcd%
