Wednesday 12 August 2015

How to create a Batch File for SDE Intercept and read the SDE intercepts.

1.  Open your notepad and paste this:

set SDEINTERCEPTLOC=C:\TEMP\client_Intercept
set SDEINTERCEPT=cwrTf
@echo off
start /d "C:\Program Files\ArcGIS\Desktop10.2\bin\" Arcmap.exe

Please make sure you have the path to your temp folder (to contain the trace) and the path to ArcMap are correct.

2.  Save the file with the .bat extension.

intercept.bat

3.  Run the batch file.

In this example, the SDEINTERCEPT and SDEINTERCEPTLOC environment variables are set for the current sesssion and ArcMap is launched.  Make a connection to an SDE geodatabase and the client_intercept files should appear in the SDEINTERCEPTLOC you specified.

Thanks,
NJ

No comments:

Post a Comment