Lisp to copy for example file "a.pdf" from downloads folder to desktop folder

Lisp to copy for example file "a.pdf" from downloads folder to desktop folder

kameron.jones
Contributor Contributor
700 Views
4 Replies
Message 1 of 5

Lisp to copy for example file "a.pdf" from downloads folder to desktop folder

kameron.jones
Contributor
Contributor

All, does anyone know what the directory for a generic users "downloads" folder is and if it can be copied to another folder via LISP?

 

I am very new to this and just a have a few tedious tasks I am trying to automate. 

 

I want to copy say filename "a.pdf" from downloads folder to desktop

 

Thanks in advance.

0 Likes
Accepted solutions (1)
701 Views
4 Replies
Replies (4)
Message 2 of 5

hak_vz
Advisor
Advisor

Check this code for copy folder (Lee Mac)

 

 

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 3 of 5

Sea-Haven
Mentor
Mentor
Accepted solution

Downloads is in C:\users\username\downloads 

 

(getenv 'username) 

0 Likes
Message 4 of 5

kameron.jones
Contributor
Contributor

Thank you both; I was specifically looking for what @Sea-Haven provided, but yes Lee-Mac's site is very helpful and I may certainly find use for the copy folder command; thanks again!

0 Likes
Message 5 of 5

hak_vz
Advisor
Advisor

@kameron.jones  You asked for generic download directory, and @Sea-Haven  provided correct answer (if not changed). My respond was about code used to copy files between directories.

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes