Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: How To Change Location of PGP File

  1. #1
    Member
    Join Date
    2010-11
    Posts
    3
    Login to Give a bone
    0

    Default How To Change Location of PGP File

    Hi all,

    I am new to this site today.
    I have been trying to increase my productivity with AutoCad (2010) over the past year, but I work at a school where the computers are re-imaged each day.

    I created my own custom .ARG and .CUIx files and have succes with these. Today i customized some commands in the _aliasedit and saved out a copy of the .PGP file. I have searched the web and do not know how to change cad to automatically reference my .PGP file which i will be placing on the desktop each time I login to a machine at my school.

    I would like CAD to know to reference this file once I load my .ARG file.

    Would this be under "support files search path" or "working support files search path"? Do I need to make copies of all other support files in these reference folders if I would be altering the reference location?

    As well I could never figure out how to make my OSNAP settings stay eash time i loaded my profile.

    Sorry for being long-winded. Thanks for any feedback.
    Last edited by tsherman698; 2010-11-23 at 05:05 AM.

  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: How To Change Location of PGP File

    Hi, welcome to AUGI.
    Yes, it should work if you add your desktop to the Support files path. You should move the new entry to the top of the list as acad will stop searching once it finds any pgp file. No, you don't need to copy any other files to your desktop.

    Edit - you can even add a flash drive to the Support files path (at the top, of course).

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: How To Change Location of PGP File

    Quote Originally Posted by tsherman698 View Post
    I have searched the web and do not know how to change cad to automatically reference my .PGP file which i will be placing on the desktop each time I login to a machine at my school.
    As John mentions, AutoCAD will search the support file search path in order from the top down, and stop when it finds the first file. So if you put all of your custom stuff in the same directory and add this directory to the top of your support file search path, you will be good to go.

    I have written up some more on this if you are interested: http://cadpanacea.com/node/34
    R.K. McSwain | CAD Panacea |

  4. #4
    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: How To Change Location of PGP File

    So, follow RK's advice but, to overcome daily re-imaging, put all your custom stuff in a folder on a flash drive.

  5. #5
    Member
    Join Date
    2010-11
    Posts
    3
    Login to Give a bone
    0

    Default Re: How To Change Location of PGP File

    Thank you very much,
    This worked after I changed the support path, and also had to rename my custom file back to acad.pgp. This is good enough for me, although i am still required to do a _reinit after loading my profile, but I'm satisfied with this.

    Thanks again,

  6. #6
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: How To Change Location of PGP File

    Quote Originally Posted by tsherman698 View Post
    ... although i am still required to do a _reinit after loading my profile...
    Why not simply add the support path you need, and re-export your profile?

    No more _reinit after profile load.

    ... While you're at it, setup your own desktop icon which uses a startup switch to load your profile.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  7. #7
    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: How To Change Location of PGP File

    Quote Originally Posted by RenderMan View Post
    ... While you're at it, setup your own desktop icon which uses a startup switch to load your profile.
    The daily re-imaging will wipe out personal desktop icons.

  8. #8
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: How To Change Location of PGP File

    Quote Originally Posted by jaberwok View Post
    ... to overcome daily re-imaging, put all your custom stuff in a folder on a flash drive.
    Quote Originally Posted by RenderMan View Post
    ... While you're at it, setup your own desktop icon which uses a startup switch to load your profile.
    Quote Originally Posted by jaberwok View Post
    The daily re-imaging will wipe out personal desktop icons.
    Not if the icon is located on your flash drive.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  9. #9
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: How To Change Location of PGP File

    Quote Originally Posted by RenderMan View Post
    Not if the icon is located on your flash drive.
    Yep, good idea ... unfortunately using the /p switch in the shortcut is only going to work if the profile is already imported to the registry. And seeing as the PC's would be re-imaged, this is probably not going to be the case.

    You could of course add the support paths as a switch to the shortcut (see /s in above link). Or if you "really" want to perform all possible tasks, you could create a SCR file and use the /b switch to load it in ACad. In which case it could set all possible system / environment variables for you (or even run some lisp if needed).

    BTW, to import an ARG file: simply rename it so its extension is REG, then a double click in explorer would merge it into the PC's registry. This should be done prior to opening ACad, so you could create a BAT/CMD file instead of a shortcut to merge your ARG into the registry, then open ACAD using the /p switch. IMO this would be the easiest way if there's not a whole lot of strange things you also want to accomplish - for that the SCR would be the next best alternative.

  10. #10
    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: How To Change Location of PGP File

    Quote Originally Posted by RenderMan View Post
    Not if the icon is located on your flash drive.

    Yeah, I wondered if you meant that.

Page 1 of 3 123 LastLast

Similar Threads

  1. 2014: change DST file default location
    By Maverick91 in forum AutoCAD Sheet Set Manager
    Replies: 3
    Last Post: 2013-08-15, 08:07 PM
  2. FILL PATTERN FILE LOCATION CHANGE
    By chuck.s in forum Revit Architecture - General
    Replies: 1
    Last Post: 2007-12-14, 04:03 PM
  3. Change .BAK file location in AutoCAD 2007
    By noel.catherwood in forum AutoCAD General
    Replies: 2
    Last Post: 2007-03-02, 04:52 AM
  4. Change BAK file location
    By charliep in forum AutoCAD General
    Replies: 9
    Last Post: 2006-03-24, 08:32 AM
  5. Change blocks source file location.
    By binh in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2006-03-03, 12:29 AM

Posting Permissions

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