%temp% going to temp folder?

Features wanted...
admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

ugus wrote:... just wonder if you have
extended the "system variables" with some of the special folder locations
like for example %Personal% %UserDocs% or whatever you may call it ;-)
Yes, I'll add some that are missing in the system (taking a lead in front of the OS :wink: ) like %Personal%, %WinSysDir% and whatever comes to my mind...

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

allen wrote:For an excellent example of implementing custom env. variables...

Code: Select all

%FILE% The entire path plus filename to the file 
%FILENAME% The file name without path 
%FILENAMENOEXT% The file name without the extension 
%FILENAMENODOT% The file name cut off at the first dot 
%FILEEXT% The extension of the file name without the dot 
%FILELONGEXT% Everything in the file name after the first dot 
%PATH% The full path without trailing delimiter to the file 
%DRIVE% The drive the file is on, without trailing delimiter 
%FOLDER% The full path without the drive and without leading or trailing delimiters 
%FOLDER1% First folder in the path 
%FOLDER2% Second folder in the path 
%FOLDER99%  99th folder in the path. 
%FOLDER<1% Last folder in the path 
%FOLDER<2% Second folder from the end in the path 
%FOLDER<99% 99th folder from the end in the path. 
%PATH1% First folder in the path, without delimiters 
%PATH2% First two folders in the path, without leading or trailing delimiters 
%PATH99% First 99 folders in the path, without leading or trailing delimiters 
%PATH<1%  Last folder in the path, without delimiters 
%PATH<2% Last two folders in the path, without leading or trailing delimiters 
%PATH<99% Last 99 folders in the path, without leading or trailing delimiters 
%PATH-1% Path without the drive or the first folder 
%PATH-2% Path without the drive or the first two folders 
%PATH-99% Path without the drive or the first 99 folders. 
%PATH<-1% Path without the drive or the last folder 
%PATH<-2% Path without the drive or the last two folders 
%PATH<-99% Path without the drive or the last 99 folders.
Slightly overdone, maybe? :wink: I did not spot a lot of useful variables for XY in that list...

allen
Posts: 89
Joined: 10 Sep 2006 19:25
Location: Northern Maine

Post by allen »

You've mentioned the ability to do some scripting in the future, I thought the ability to grab directories ~n deep in either direction relative to current location could be handy for processes backuping up a directory structure at the very least.

Overdone, perhaps . . . just copying and pasting ;)

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

allen wrote:You've mentioned the ability to do some scripting in the future, I thought the ability to grab directories ~n deep in either direction relative to current location could be handy for processes backuping up a directory structure at the very least.

Overdone, perhaps . . . just copying and pasting ;)
Ah, okay. I was only thinking of usage in the address bar... Scripting will come after some other things have deen done...

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

admin wrote:
allen wrote:You've mentioned the ability to do some scripting in the future, I thought the ability to grab directories ~n deep in either direction relative to current location could be handy for processes backuping up a directory structure at the very least.

Overdone, perhaps . . . just copying and pasting ;)
Ah, okay. I was only thinking of usage in the address bar... Scripting will come after some other things have deen done...
Will systemvariables be available in searches too? and in catalog items?

/Ulrik

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

ugus wrote:Will systemvariables be available in searches too? and in catalog items?
Address bar searches? Yes, didn't you try? Catalog, too.

You know, Address bar, Catalog, GoTo dialog, Favorites -- they all are just different entries to the same procedure. They have identical capabilities.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

admin wrote:
ugus wrote:Will systemvariables be available in searches too? and in catalog items?
Address bar searches? Yes, didn't you try? Catalog, too.

You know, Address bar, Catalog, GoTo dialog, Favorites -- they all are just different entries to the same procedure. They have identical capabilities.
Sorry :oops:

Didn't realized you already had implemented it...

/Ulrik

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Little inconsistancy I'd say with thoose: they do work on Go to/etc so they work for Name Searches, yet one cannot use them as locations for a classic File Find operation.
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Little inconsistancy I'd say with thoose: they do work on Go to/etc so they work for Name Searches, yet one cannot use them as locations for a classic File Find operation.
Yes, the address bar has more power than the location field. Not an inconsistancy but a difference. :wink:

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference. :wink:
Well, I still see it as an inconsistancy. :P Reason is, yes i know AB/Goto/etc are more powerfull than the Location field, but I wasn't opposing thoose two, but the location field yes, with the location part of Name Searches.

As in, both are FF operations run by XY, so they should all have the same syntax (changes have actually already been made to go that way), and if one was to be more powerfull than the other, it'd be the "real" FF as it's the FF feature of XY, whereas Name Searches are not, there's just a quicker/simpler/lighter way to run a search.

So having both location "fields" for search in XY behaves the same (eg. both accepting multiple locations with same separator) but only one supporting env. variables.... Sound like inconsistency to me. :roll:
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:... if one was to be more powerfull than the other, it'd be the "real" FF as it's the FF feature of XY, whereas Name Searches are not, there's just a quicker/simpler/lighter way to run a search...
That did it. :)

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference. :wink:
Later on it would be nice to let name searches support all the available switches that exists in Find files tab.

This will probably add a lot of different command switches to the name searches, but I think that would be a very nice thing to add (in the future)

Many users I think prefer to do searches with the addressbar and with the autocomplete feature name searches then really becomes a hit.

Not to mention the real power you'll get to when adding full featured name searches to catalog.

OK, not for now but I really like to see this later on.

/Ulrik
Last edited by ugus on 23 Sep 2006 17:25, edited 1 time in total.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

ugus wrote:Not to mention the real power you'll get to when adding name searches to catalog.
Oh but name searches are already supported in the Catalog!! Just put as destination what you would put into the Goto/Address bar and it will work exactly the same way!

Don't know about having a way (switch?) to have that on Goto/AB/etc or if it'll be Catalog-only, but being able to use a template to start a real search (and so with the ability to set, via template, ALL the filters) has been planned too...
Proud XYplorer Fanatic

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

jacky wrote:
ugus wrote:Not to mention the real power you'll get to when adding name searches to catalog.
Oh but name searches are already supported in the Catalog!! Just put as destination what you would put into the Goto/Address bar and it will work exactly the same way!

Don't know about having a way (switch?) to have that on Goto/AB/etc or if it'll be Catalog-only, but being able to use a template to start a real search (and so with the ability to set, via template, ALL the filters) has been planned too...
Sorry, I wasn't clear... I mean name searches with switches that mimics all settings you can set in Find Files, that would be nice to being able to add to the catalogue.

Like a name search with a /contained text switch on...or something similar.

You cannot do it right now? or...
/Ulrik

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

ugus wrote:
admin wrote:Yes, the address bar has more power than the location field. Not an inconsistancy but a difference. :wink:
Later on it would be nice to let name searches support all the available switches that exists in Find files tab. ...
Yes, but that would need a pretty elaborate syntax (think of the Date tab alone!), not easy to handle and remember.

The way I plan it: store finding tabs (with full find settings) in the catalog, and restore them later at one click. Then you have also the sort order, column order, column width etc. set. And you don't need to learn anything new, just click "save tab" and "open tab". File under "catalog: tab items" when you next remind me... :wink:

Post Reply