Results 1 to 3 of 3

Thread: The .ARG files and the registry

  1. #1
    Member
    Join Date
    2003-08
    Posts
    46
    Login to Give a bone
    0

    Default The .ARG files and the registry

    We have a MYPROFILE.ARG file that we like to use. Is there any way to remove keys from the registry in the previous version of the MYPROFILE and keep the MYPROFILE name the same> I have a change in one key . I want to change the following:

    [HKEY_CURRENT_USERSoftwareAutodeskAutoCADR15.0ACAD-2:409ProfilesMYSOFTWAREDialogsApploadStartup]
    "NumStartup"="2"
    "1Startup"="C:Program FilesMAPPINGGEMSSUPPORTMYLISP.lsp"
    "2Startup"="C:Program FilesAutoCAD Map 2000iaclyutil.arx"

    to this:

    [HKEY_CURRENT_USERSoftwareAutodeskAutoCADR15.0ACAD-2:409ProfilesMYSOFTWAREDialogsApploadStartup]
    "NumStartup"="1"
    "1Startup"="C:Program FilesMAPPINGGEMSSUPPORTMYLISP.lsp"

    I can achieve this manually, or by making a .ARG file with a different name, but I would like to keep the same name and simply update it. Autocad does not seem to want to read and make changes to an existing profile, unless the name is different.

    So, I have gotten what I wanted but it remains with MYPROFILE and MYPROFILE2 in the registry and the profile listing in Autocad.

    I would like to also remove the MYPROFILE from the Autocad listing and the listing in the registry without putting in code to do it at startup. Asking too much?

    Thanks,

    Joe

  2. #2
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: The .ARG files and the registry

    Hi Joe.

    Since a .ARG file is simply a .REG file by another name I'd try using Regedit on it.

  3. #3
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,419
    Login to Give a bone
    0

    Default Re: The .ARG files and the registry

    Also, it is just a text file with an arg extension. You can edit the file with Notepad. In the past, I've also changed the arg to a reg extension and just double clicked it to run it.
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Problem with the registry
    By yves.allaire in forum AutoCAD 3D (2007 and above)
    Replies: 11
    Last Post: 2008-07-02, 03:12 PM
  2. LT2004 and the Registry
    By noozybkk in forum AutoCAD Customization
    Replies: 6
    Last Post: 2006-03-31, 06:58 AM
  3. ADT-3.3 Registry error
    By Sgtdarryl in forum ACA General
    Replies: 2
    Last Post: 2006-02-22, 10:23 PM
  4. Modifying the registry with VBA
    By jpaulsen in forum VBA/COM Interop
    Replies: 2
    Last Post: 2004-10-05, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •