AutoCAD 2013/2014/2015

Reply
Valued Contributor
Joris3P
Posts: 84
Registered: ‎10-26-2009
Message 1 of 5 (320 Views)

arg file variable username

320 Views, 4 Replies
11-21-2012 06:43 AM

Hi,

 

I want to set a custom location in my .arg-file and I'm not sure if Autodesk included that possibility.

 

Z:\%username\autocad\pgp

 

In which Z is a drive on our server.

 

My thought: in this way I can set the correct pgp files for all of the users.

 

 

Sadly this isn't working, any thoughts?

(%UserProfileFolder% isn't working)

*Expert Elite*
pendean
Posts: 22,463
Registered: ‎11-06-2003
Message 2 of 5 (311 Views)

Re: arg file variable username

11-21-2012 09:12 AM in reply to: Joris3P

Why not centrally locate a shared single PGP file on the server instead of a by-user PGP file? Or just leave the individual PGP files on the individual PCs instead of a central location? I'm curious about your approach to centrally locate individual PGP files.

Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
*Expert Elite*
dgorsman
Posts: 5,367
Registered: ‎10-12-2006
Message 3 of 5 (297 Views)

Re: arg file variable username

11-21-2012 12:32 PM in reply to: pendean

Individual PGP files allows different users to have different aliases, and having it on the network its included in the nightly backups.

 

Not sure if individual user names ala "%USERID% will work in the AutoCAD search path.  What you could do is have your IT set up a Z drive (or other name) to point each user to their individual set of folders under that server (its how we are set up).  Everybody would be pointing to the same path (Z:\My AutoCAD stuff\PGP) but they still get their own folders regardless of user ID.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Valued Contributor
Joris3P
Posts: 84
Registered: ‎10-26-2009
Message 4 of 5 (291 Views)

Re: arg file variable username

11-21-2012 11:23 PM in reply to: Joris3P

Hello Pendean, Dgorsman,

 

@Pendean: as Dgorsman mentioned.

 

@Dgorsman: not quite following you.

I believe our setup is quite similar --- I think.

we have this structure: Z:\username\own_space

 

In order to have things nicely backedup I would like to use that network drive.

%userid% doesn't work, neither does %username%.

 

I just don't want to add/change that filelocation on every machine.

 

Any thoughts?

 

3Pinter

*Expert Elite*
dgorsman
Posts: 5,367
Registered: ‎10-12-2006
Message 5 of 5 (280 Views)

Re: arg file variable username

11-22-2012 07:53 AM in reply to: Joris3P

I do know you can put some variable paths in the search path, and they will resolve based on the current user.  I just can't remember them off the top of my head.  Thats one of the reasons why I avoid such user-specific pathing in our set-ups - its one more thing to maintain and trip over.  Also means you don't have to go around the office and change things :smileyhappy:

 

IT provides all of our users with a "personal network drive" which resolves to the same path for everybody, although it maps to a different sub-folder for everybody.  For example one user could be someserver\BillyBob\, another could be someserver\JimBob, but from the users point of view they are both mapped as G:\.  This way I can specify G:\AutoCAD Support\AutoCAD\PGP in the search paths and they each see their own PGP.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.