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...
TNH
Posts: 4
Joined: 11 Jul 2018 10:36

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

Postby TNH » 13 Jul 2018 02:44

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: 625
Joined: 20 Oct 2017 21:14

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

Postby jupe » 13 Jul 2018 03:13

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?

Postby TNH » 13 Jul 2018 06:25

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 78 times

jupe
Posts: 625
Joined: 20 Oct 2017 21:14

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

Postby jupe » 13 Jul 2018 06:36

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?

Postby TNH » 13 Jul 2018 18:02

Hi

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


Return to “Tips & Tricks, Questions & Answers”



Who is online

Users browsing this forum: No registered users and 0 guests