View Full Version : Automate export SDF script trouble

2010-11-05, 02:32 PM
I am trying to create a batch/script that, when run, export SDF and SHPs from several DWGs using export profiles i have created. The hurdle I can't get over is connect to our Oracle database. The dwgs have been saved with the datasources attached and the script opens Autocad MAP 2010 but the “ Ora OLEDB logon” dialog box pops up looking for my password. I can’t seem to find a script to deal with that.
any help would be greatly appreciated. this is what i have so far:


and the batch....

for %%f in (.dwg) do (
"c:\program files\AutoCAD Map 3D 2010\acad.exe" %%f /b testscript.scr
rename SDFs\TEMP.SDF %%~nf.sdf