Page 1 of 1

Concatenated Environment Variables.

Posted: 20 Aug 2010 20:28
by SkyFrontier
It's a kind of plagiarism on myself but here you can find a file with a very comprehensive list of Environment Vars I can't seen to find anywhere else, except parts of it.
Probably outdated (things here happen fast... :wink: ) but here it goes:

Code: Select all

RECENT folder (thanks, [http://www.xyplorer.com/xyfc/viewtopic.php?p=42024#p42024]Stefan!)
%userprofile%\recent

v8.80.0006 - 2010-01-01 18:18
    + Environment Variables: New XY only environment variable:
        %commonappdata% = name of all users application data folder
      Typically on English systems it will return "C:\Documents and
      Settings\All Users\Application Data".

v8.70.0150 - 2009-12-15 12:46
    + Environment Variables: New XY only environment variable:
        %recycler% = Name of the Recycle Bin special folder
      Typically on English systems it will return "Recycle Bin".

v6.80.0064 - 2008-02-09 14:07
    + Enlarged the list of supported environment variables to "all". 
      Before, only those the resolved to paths had been supported.
      Now you may use some or all of the following plus maybe others 
      (depending on your OS and system settings):
        %CLIENTNAME%
        %COMPUTERNAME%
        %FP_NO_HOST_CHECK%
        %HOMEPATH%
        %NUMBER_OF_PROCESSORS%
        %OS%
        %PATHEXT%
        %PROCESSOR_ARCHITECTURE%
        %PROCESSOR_IDENTIFIER%
        %PROCESSOR_LEVEL%
        %PROCESSOR_REVISION%
        %SESSIONNAME%
        %USERDOMAIN%
        %USERNAME%

v5.10.0040 - 2006-09-20 12:57
  +++ Now you can enter common Windows environment variables into the 
      Address Bar (Catalog, Favorites, Go To), to have a soft-coded 
      approach to certain useful system paths. They have to be marked by a 
      leading "%" and a trailing "%".
      Obviously, to serve as a location those variables should point to 
      individual paths. So, XYplorer allows only a subset of the Windows 
      environment variables, but adds some proprietary variables to the 
      set.
      These are the valid environment variables in XYplorer:
        Common Windows:
          %allusersprofile%
          %appdata%
          %commonprogramfiles%
          %programfiles%
          %systemdrive%
          %systemroot%
          %temp%
          %tmp%
          %userprofile%
          %windir%
        XYplorer only:
          %computer%      -> "MyComputer" = drives listing
          %desktop%       -> "Desktop" Special Folder
          %net%           -> "My Network Places"
          %personal%      -> "My Documents" Special Folder
          %desktopreal%   -> Desktop Real Path
          %personalreal%  -> MyDocuments Real Path
          %winsysdir%     -> Windows System Directory
      Note that case is ignored: %desktop% = %DESKTOP%.
      Note that all paths are returned back-slashed, apart from the 
      quoted items above (%desktop% becomes "Desktop", not "Desktop\").
      Note that these variables 
Learn a new thing every day...
Found here the following list:

Code: Select all

Win Environment Variable=Value
________________________________
SystemDrive=%SystemDrive%
SystemRoot=%SystemRoot%
WinDir=%WinDir%
ComSpec=%ComSpec%
ProgramFiles=%programfiles%
ProgramFles(X86)=%PROGRAMFILES(X86)%
CommonProgramFiles=%CommonProgramFiles%
CommonProgramFiles(x86)=%COMMONPROGRAMFILES(x86)%
Temp=%Temp%
Tmp=%Tmp%
HomeDrive=%HOMEDRIVE%
HomePath=%HOMEPATH%
OS=%OS%
UserDomain=%USERDOMAIN%
UserName=%USERNAME%
UserProfile=%USERPROFILE%
AllUserProfile=%AllUsersProfile%
(User's desktop)=%USERPROFILE%\Desktop
Path=%PATH%
Pathext=%PATHEXT%
AppData=%AppData%
LogonServer=%LOGONSERVER%
ComputerName=%COMPUTERNAME%
HomeShare=%HOMESHARE%

XY Internal Variables=Value
___________________________________
Xypath=<xypath>
curfolder=<curfolder>
curname=<curname>
curbase=<curbase>
curext=<curext>
curpath=<curpath>
curitem=<curitem>
date=<date>
datec=<datec>
datem=<datem>
dateexif=<dateexif>
date yyyymmdd = <date yyyymmdd>
xydata=<xydata>
xyexe=<xyexe>
clipboard=<clipboard>
curtitle=<curtitle>

Re: Concatenated Environment Variables.

Posted: 20 Aug 2010 20:33
by SkyFrontier
Forgot to mention: there's also a little discussion here regarding that matter plus suggestions (see previous posts for actual data, since mentioned link points to a suggestion list).

Re: Concatenated Environment Variables.

Posted: 20 Aug 2010 20:45
by serendipity
Hi SkyFrontier,
I appreciate your efforts to keep all the information updated here. It would be of great help if you can update the XYwiki instead of doing it here at the forum. Its already nicely setup there and I think its good to have information separate from discussion.
More specifically, there is already an environmental variables page on XYwiki. Maybe you add this info there.
Also, like someone mentioned before, there is a separate scripts page for sharing scripts. Your thread on scripts can be put there if you have the time.

Just my opinion.
Again, thanks for the help around XY.

Re: Concatenated Environment Variables.

Posted: 20 Aug 2010 21:37
by SkyFrontier
Hi, Serendipity!
I have so many cons against XYwiki that I am really avoiding touching it for now. And yes, I pondered about it.
Some day or another I'll write down my reasons and see if you guys can help me with them. Then I may consider porting some stuff to it.

Also, I don't have the time to be regular as much as such task requires. So I'm contributing the way I can, and REALLY hope that you (which I see as being reasonable enough to at least take my reasons as a valid argument), zer0 and Hallgren understand me.
Prior to your comment (or at the same time, can't say for sure) I posted an update exactly linking to the sources you mentioned (at least the for the script vars) and judged that it would not make sense looking for each source I've mined a link to them in this post in particular as I'm short on time these days - but I do it often, you probably have noticed!

As a last note, I'm planning to gather the scripts linked in the XY script Library and save them in the .xys format so I can do the thing in the XYwiki proper, stablished format - and will need some help on scripting since I plan doing that in an automated manner, otherwise I'll definitely go nutzo... :(

Thank you for understanding.

Re: Concatenated Environment Variables.

Posted: 21 Aug 2010 04:58
by SkyFrontier
...updated the above list.
-can someone please filter duplicates so the thing can be more organized/accurate?
Thanks!

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 14:50
by TheQwerty
serendipity wrote:I appreciate your efforts to keep all the information updated here. It would be of great help if you can update the XYwiki instead of doing it here at the forum.
I echo this sentiment. We really don't need multiple sources of the same information; none of which are complete. :|

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 16:06
by SkyFrontier
TheQwerty:

Code: Select all

...none of which are complete. :|
That's precisely one of the many reasons I'm reluctant to post directly into XYwiki: I *can't* gather and organize that info clearly enough to make it a full, reliable XY reference guide.
-I'm a less than 1 year XY user which can't script and don't master English well enough to take a chance doing such task. Here, I do the best I can and *I'm open to suggestions and corrections* (although certainly not the way T-5 guys want force me to, sometimes, in ways of "do our way or do nothing"). And in the occurrence of errors, all community is watching and ready to correct, so it's a safeguard I like to have.
-better than nothing and raw material other skilled person can take and recompile any way he/she finds it's better for the whole sake.
If each one contribute a little, I'm sure the whole thing will look better.

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 16:27
by j_c_hallgren
SkyFrontier wrote: and don't master English well enough to take a chance doing such task.
Actually, that is one GOOD reason TO use the wiki! As we can thus correct any really bad errors in place and the result will appear as if done properly the first time, whereas here any language errors stay around for posterity! And given a choice, I would think you'd not want the (maybe) 1% of your work that is wrong to be seen for years.. :wink:
Here, I do the best I can and *I'm open to suggestions and corrections*
Same applies to wiki...it even has a "Discussion" sub-page for pages where issues can be worked out sort of 'in private'
(although certainly not the way T-5 guys want force me to, sometimes, in ways of "do our way or do nothing"). And in the occurrence of errors, all community is watching and ready to correct, so it's a safeguard I like to have.
Same applies to wiki -- we can all watch and correct! And I'm not sure who you mean by T-5 but remember, those who are complaining about this have been here for much longer and generally agree how we want this place to look for new/other users...it's not that we don't appreciate your efforts...we do...it's just that your time is somewhat being wasted by putting it here in forum where it can't be as easily found/seen and also sometimes tends to clutter up the forum, ok? Hope you understand.
If each one contribute a little, I'm sure the whole thing will look better.
Exactly! The best reason for using the wiki!

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 16:48
by SkyFrontier
I don't know...
(quote? code? list? what?)
Well... until we get a con-sense, I go with URL:
This page was last modified on 4 August 2009, at 15:14.
Recent Changes reports "19 August 2010" as the latest...
I appreciate your concerning, Hallgren, and thank you for the tips.
But honestly - what about ALL of us team up (as you suggested!) and get the thing up and running? I've already provided some raw content that wasn't used at all, as seen above - both on this post and the topic itself. Why not a more talented person hasn't already got this stuff and updated the Wiki himself? :wink:
If the problem is the place being not proper for this, PM me all of you and ask for content - but as you all can see, I already gathered a good bunch. Your turn. ^^

P.S.: and there is demand, 1067 page views within a week for one and ~160 downloads (~100 on the first two weeks, AFAICR) for content that's already available since ages may mean a thing.

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 17:04
by SkyFrontier
Tweaked the template a bit, so I can clearly see that Hallgren contributed a bit, Stefan updated several script related stuff (thanks again, Stefan!) and Admin (Jacky, I believe) last contributed at 29 July 2009.
-there's plenty of job to do, I'd say. And I alone will *NOT* get the job done.

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 17:22
by zer0
Forum is by definition for discussions, wikis are there for collaboration. I don't mind reviewing, correcting and adding as and when necessary and time allows :)

Re: Concatenated Environment Variables.

Posted: 24 Aug 2010 17:37
by SkyFrontier
zer0:
Forum is by definition for discussions, wikis are there for collaboration. I don't mind reviewing, correcting and adding as and when necessary and time allows :)
...well... zer0, Hallgren, Stefan and me are certainly a starting!
Counting on you, guys. I'm up to the task. Next priority: enter and learn the Wiki stuff.
But please: I need urgent help on the Data Mining Tool thing, so if you're up to the task or can ask another user for help, please do so. One scripter told me via PM he will try to do the script, but currently having some time restrictions.

EDIT: Huh... forgot the basics: THANK YOU, zer0 and Hallgren, for accepting to participate!