How To: Add a configuration switch for ArcCAD
Using a switch in ArcCAD allows users to access their own AutoCAD configuration and initialization files. During start-up, AutoCAD searches for the path where the acad.ini, acad.cfg, and acadnt.cfg files reside. By default, these files are located in the r13\win subdirectory, however, where AutoCAD searches for these files can be controlled by specifying a switch. Specifying a switch is helpful when running ArcCAD on a network, or if it is preferential to use a specific set of configuration and initialization parameters.
The /c switch specifies the configuration directory where AutoCAD stores and looks for the acad.ini, acad.cfg, and acadnt.cfg.
The acad.cfg is the configuration file created when AutoCAD is configured for any peripheral devices.
The acad.ini file is the initialization file that contains information, such as the support paths and location of AutoCAD files.
1. Copy the files acad.ini, acad.cfg, and acadnt.cfg, to the directory that will be specified with the /c switch, for example:
2. Select the ArcCAD icon.
3. From the File menu of the Windows Program Manager, select Properties.
4. From the Properties dialog box, select Shortcut. By default, the start-up should appear like this:
5. Add the /c switch and path that points to the configuration directory defined in Step 1, for example:
c:\arcadwin\bin\arcadwin.exe /c c:\cfg
ArcCAD will now use the files that reside in c:\cfg when it is launched.
6. Add an additional path that points to an AutoCAD drawing file (.dwg), for example:
c:\arcadwin\bin\arcadwin.exe /c c:\cfg c:\dwgs\parcel.dwg
If it is not necessary to have a drawing load automatically during start-up, then leave a directory path without a filename and ArcCAD will display the 'unnamed' drawing as a default, for example:
c:\arcadwin\bin\arcadwin.exe /c c:\cfg c:\dwgs
If a path is not added after the configuration directory (from Step 5), ArcCAD will load another file (non .dwg's) as the current drawing, which may cause confusion as well as jeopardize data integrity.