Quantcast
Channel: Andrew Bell's Activities
Viewing all articles
Browse latest Browse all 4948

Batch Process - command line

$
0
0

Hello everyone, this is my first time posting in this forum.

I am having a problem when running a simple batch process script that finds and replaces text through the command line.

When I try to run it using the command line:

C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation>msbatch batchprocess C:\Users\...\eclipse-workspace\MicroStation\testing.bprc

it starts the MicroStation text window and says the following:

Processing Batch Process Job: C:\Users\...\eclipse-workspace\MicroStation\testing.bprc

log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [createpath] to set object on [log4net.Appender.RollingFileAppender]

testing.bprc

[SETTINGS=bpOptions]
logFile=_USTN_OUT:batchprocess.log
cmdFileName=C:\Users\...\eclipse-workspace\MicroStation\test\temp_findAndReplace.txt
clearLog=1
initialModel=-35
[SOURCE=Q:\Automation\...\test.dgn]
[MODEL=:AllModels:]

temp_findAndReplace.txt

MDL SILENTLOAD FINDREPLACETEXT,CHNGTXT CHANGE DIALOGTEXT
FIND DIALOG SEARCHSTRING 2021/05/24
FIND DIALOG REPLACESTRING 2021/06/17
CHANGE TEXT ALLFILTERED

 

batchprocess.log

Processing Batch Process Job: C:\Users\...\eclipse-workspace\MicroStation\testing.bprc
Start Time 6/17/21 11:25:45 AM

BatchProcess: 6 files processed
Total processing time 0.0 seconds
End Time 6/17/21 11:25:58 AM

The text inside the file does not get changed at all. If I run the same bprc file through the Batch Process dialog, it works properly. Does anyone have any idea why it is not working through the command line?


Viewing all articles
Browse latest Browse all 4948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>