How can i get the right "downloads"path all the time?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TNH
Posts: 4
Joined: 11 Jul 2018 10:36

How can i get the right "downloads"path all the time?

Post by TNH »

Hi
I am working on the script with command line.
I would like to save my files all the time in the Download folder.
When i am working on other computers the paths are different.
How can i get the right paths all the time?
I was looking in the manual i found the get() but in the examples i did't fine anything what i need.
I was thinking about system variables like this <xydata> or windows %DEFAULTUSERPROFILE%.
Can you help me please?
Thanks

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: How can i get the right "downloads"path all the time?

Post by jupe »

If you look under this menu: Help | Environment Variables it gives you a list, so you could use this:

%USERPROFILE%\Downloads

TNH
Posts: 4
Joined: 11 Jul 2018 10:36

Re: How can i get the right "downloads"path all the time?

Post by TNH »

Hi

In the help file under Environment Variables %USERPROFILE% is not exist.
Thanks for your help!
Attachments
Image 1.jpg
Image 1.jpg (335.74 KiB) Viewed 639 times

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: How can i get the right "downloads"path all the time?

Post by jupe »

I said in the Help menu, not the Help File ie.

Click Help Menu
Click Environment Variables

It is definitely listed in that popup window just as I suggested. As shown in your screenshot, it specifically says that it is only listing some of the XY specific variables in the help file, that one I listed is a Windows variable so it wouldn't be listed. Also shown in your screenshot it tells you to look in that menu item, if you (re?)read the second & third line pictured.

TNH
Posts: 4
Joined: 11 Jul 2018 10:36

Re: How can i get the right "downloads"path all the time?

Post by TNH »

Hi

My mistake , i misunderstood your respond.
Thanks for your help.
TN

Post Reply