%System Vars% for Hot Paths

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
Stefan
Posts: 46
Joined: 18 Jan 2006, 12:48

%System Vars% for Hot Paths

Post by Stefan »

ALTAP Roadmap (updated 02/06/2006)
-- Structured and unlimited Hot Paths.
I hope we can use system vars like %USERPROFILE%

e.g. to have the following Hot Paths
MyDesktop ---- %Userprofile%\Desktop
AppsProfile ---- %APPDATA%
Drivers --------- %WinDir%\System32\Drivers


so our Hot Paths works on all machines.

(I have tryed to use $[%UserProfile%] and $[USERPROFILE] but no luck)



find me: %HomeDrive% %ProgramFiles% %Temp% sys system variable variables
User avatar
KNUT
Posts: 286
Joined: 12 Dec 2005, 09:57
Location: Hamburg, Germany

Re: %System Vars% for Hot Paths

Post by KNUT »

Stefan wrote:I hope we can use system vars like %USERPROFILE% e.g. to have the following Hot Paths [...]
Yes, please! Great idea (nearly obvious....)
Kind regards, KNUT
_____________________________________________
Satisfied Servant Salamander User from Version 1.5 till now
User avatar
SvA
Posts: 483
Joined: 29 Mar 2006, 02:41
Location: DE

Post by SvA »

Environment variables was great, but only half a solution. Many folders canot reliably be specified by using environment variables, thus we need CSIDL constants too. See Disconnect network drive in the Problems and Troubleshooting forum for an example.
User avatar
AbteriX
Posts: 94
Joined: 12 Mar 2006, 20:55
Location: Deutschland
Contact:

Post by AbteriX »

Yes, you mean like

Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
or
Scanners and camera's.{E211B736-43FD-11D1-9EFB-0000F8757FCD}


A list of this special folder CLSIDs can be found
here http://vlaurie.com/computers2/Articles/ ... lders2.htm
and here http://www.virtualplastic.net/html/icn_reg.html

Or in SS menu "Commands | Open Folders >"
AbteriX
User avatar
AbteriX
Posts: 94
Joined: 12 Mar 2006, 20:55
Location: Deutschland
Contact:

Post by AbteriX »

"Special Folders" can not be open in "Hot Paths" but in "User Menu":

1 - make a new sub folder, e.g. ...\Programs\Sala2.5b11\SpecFolders
2 - make there a new sub folder called   'Printers.{2227A280-3AEA-1069-A2DE-08002B30309D}'
(see last post for links to a list of special folders)

3 - config your user menu and point to this newest folder
'...\Programs\Sala2.5b11\SpecFolders\Printers.{2227A280-3AEA-1069-A2DE-08002B30309D}'
Be sure to see all files *.*


---
You can do the same in "Hot Paths".... but Salamander redirect NOT to the special folder
but opens only the folder you created with the "special folder name"

But You can still right click your "special folder named"-folders in Salamander and "Explorer" them to browse the special folders.
(so maybe Altap can improve this ?)
AbteriX
User avatar
SvA
Posts: 483
Joined: 29 Mar 2006, 02:41
Location: DE

Post by SvA »

Thank you, AbteriX, for your suggestion.

I did not mean CLSIDs, but, as I wrote it, CSIDLs. These are used in Windows API to access special shell folders. See http://msdn.microsoft.com/library/defau ... /csidl.asp

With these you can access the system's current notion of e.g. the My Documents folder, which refuses to do it's thing using the method AbteriX suggested.
User avatar
AbteriX
Posts: 94
Joined: 12 Mar 2006, 20:55
Location: Deutschland
Contact:

Post by AbteriX »

Oh " CSIDLs", sorry never heard about :cry:
Thanks for clarifying SvA.
AbteriX
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: %System Vars% for Hot Paths

Post by Jan Rysavy »

$(WinDir), $(SysDir), $(SalDir), $[EnvironmentVariable] variables will be supported in Hot Paths from AS 2.52.
Thank you for your ideas!
Post Reply