I'm sure this is a dumb question, but:
How can I set a "Go to" location (in the address bar, or a Catalog entry, or whatever) for one of Windows' "Special Folders" (Desktop, Pictures, Downloads, etc)? Vista has a whole load more of these than XP used to, and I'm getting fed up of navigating through Users\<me>\Whatever. I know I could use the actual directory name, but I'd rather use something a bit more portable.
I tried searching the forum and wiki, but didn't find much ("Special folder" isn't a particularly good search term :-()
Thanks,
Paul.
Special folders
-
Pagat
- Posts: 308
- Joined: 09 Oct 2007 21:23
- Location: Austria
Re: Special folders
Hello,
What you are looking for are "Environment Variables". Here is the wiki page:
http://88.191.26.34/XYwiki/index.php/En ... _Variables
What you are looking for are "Environment Variables". Here is the wiki page:
http://88.191.26.34/XYwiki/index.php/En ... _Variables
OS: Windows 11, 64-bit, Version 25H2, Build 26200.8655 (10.0), AMD64
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)
Monitor: 1/2 (Primary) Primary Screen DPI: 96 (100%)
-
pmoore
- Posts: 28
- Joined: 27 May 2008 13:50
Re: Special folders
Unfortunately, there aren't environment variables for all the various special folders (e.g. My Music, My Pictures, etc). But it helps for some, certainly.
Thanks,
Paul.
Thanks,
Paul.
-
fishgod
- Posts: 231
- Joined: 03 Feb 2008 00:40
- Location: Sankt Augustin (near Bonn), Germany
Re: Special folders
You coul'd create entries in the Catalog using the USERPROFILE environment-variable.
For example:
That makes it a bit more portable instead of using the absolute path.
For example:
Code: Select all
::Goto("%USERPROFILE%\Eigene Dateien\")Operating System: Win10 x64 / Win11 x64 / almost allways newest XY-beta
totally XYscripting-addicted
totally XYscripting-addicted
XYplorer Beta Club