Page 1 of 1

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

Posted: 13 Jul 2018 02:44
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

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

Posted: 13 Jul 2018 03:13
by jupe
If you look under this menu: Help | Environment Variables it gives you a list, so you could use this:

%USERPROFILE%\Downloads

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

Posted: 13 Jul 2018 06:25
by TNH
Hi

In the help file under Environment Variables %USERPROFILE% is not exist.
Thanks for your help!

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

Posted: 13 Jul 2018 06:36
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.

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

Posted: 13 Jul 2018 18:02
by TNH
Hi

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