eTransmit storage folder

eTransmit storage folder

aosrom
Contributor Contributor
1,068 Views
3 Replies
Message 1 of 4

eTransmit storage folder

aosrom
Contributor
Contributor

Hi All.

 

I like that when I open a drawing, a auto-loaded vlisp, makes the settings to the DWG folder.
To do this I change the registers with sequences like this

(vl-registry-write
  (strcat
    "HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\" StVer "\\" AcadVer "\\Profiles"
    Profil "\\Dialogs\\XattachFileDialog"
  ) ;_ end of strcat
  "InitialDirectory"
  DwgPath
) ;_ end of vl-registry-write

 

Someone can help me with the register key for the default folder where the archives are placed?

 

Many thanks,

 

0 Likes
Accepted solutions (1)
1,069 Views
3 Replies
Replies (3)
Message 2 of 4

Ranjit_Singh
Advisor
Advisor
Accepted solution

I believe etransmit destination folder is stored at following location

(vl-registry-read (strcat "HKEY_CURRENT_USER\\" (vlax-machine-product-key) "\\ETransmit\\setups\\Standard")
                  "DestFolder"
)

To update the folder value

(vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-machine-product-key) "\\ETransmit\\setups\\Standard")
                   "DestFolder"
                   "C:\\Users\\username\\Desktop"; desired directory here
)

 

Message 3 of 4

aosrom
Contributor
Contributor

Yes.

 

With (vlax-product-key) instead of (vlax-machine-product-key) is also ok for versions older than 2012.

 

Thanks Ranjit.Singh,

0 Likes
Message 4 of 4

Ranjit_Singh
Advisor
Advisor

You are welcome. Glad to have helped.

0 Likes