- under UAC
- as non-admin
- in protected folders (e.g. C:\programs)
>> simply turn off Custom Copy and all problems are gone.
I would rather say "almost all" since symlink creation isn't affected.admin wrote:...for copying files! So when working...
>> simply turn off Custom Copy and all problems are gone.
No. You know, I do nothing here. What you see is completely handled by the shell. UAC comes from the shell, so let the shell deal with it.Marco wrote:Isn't possible to "simulate" a file operation without CC first, to see if UAC will be triggered, and then, if so, sending an elevation request to the OS for XYcopy?
As it stands you are the only one who ever reported Custom Copy slowness, let alone such a dramatic one. I would love to reproduce it but can't.grindax wrote:I do like the extra functionality and visual feedback it provides, and do wish to use it. All I'm saying is that unfortunately I can't because for whatever reason it takes minutes to do the same thing that the shell does in seconds. And for that reason I have turned off this optional feature. I appreciate that you did already look into this to see if anything could be done.admin wrote:Are you in a bad mood? It's an alternative to shell copy. If you don't like it don't use it. It's optional.
Keeping in mind that a fresh instance would also be a "bare" instance: no tags, no customized settings, nothing. Maybe a "stealth" clone of the current config would be more useful.Filehero wrote:So: can we marry the "New /fresh switch"-approach and the "need-admin-rights"-case in a way not changing the current settings of the instance the call originates from? Basically it would be a "disposable" copy instance with elevated access rights.
Cheers,
Filehero
This is what I meant with copy instance. Another instance with the same, but read only settings, to be closed right after the elevated stuff is done.Marco wrote:Maybe a "stealth" clone of ...
Code: Select all
v10.10.0102 - 2011-08-23 12:19
+ Custom Copy: Now you can state a [b]Custom Copy Blacklist[/b] containing
any number of target paths which shall be excluded from Custom
Copy (and automatically use normal Shell Copy instead).
The data should be provided in a file placed in <xydata> and
named "CustomCopyBlacklist.dat". The paths should be listed one
per line in any order. All sorts of variables and portable syntax
are supported. Here's an example for the contents of the file on
64-bit Windows (on 32-bit Windows you would drop the line
"%ProgramFiles(x86)%"):
%ALLUSERSPROFILE%
%ProgramFiles%
%ProgramFiles(x86)%
%WinDir%
The typical reason for blacklisting folders is that Custom Copy
will fail where UAC disallows writing to them, whereas Shell Copy
will prompt for elevation.
Code: Select all
v10.10.0103 - 2011-08-23 20:52
* Custom Copy Blacklist: Now you have to append an * (asterisk) to
mark a folder as being blacklisted including all subfolders.
An example using recursive and non-recursive paths:
%HOMEDRIVE%
%ALLUSERSPROFILE%*
%ProgramFiles%*
%ProgramFiles(x86)%*
%WinDir%*
Exactly (with stealth I meant that it shouldn't touch any setting on disk). And as Don says it cannot be a mirror of the current state in memory but only a mirror of the current state on disk: I suppose it would still be better than a virgin config.Filehero wrote:This is what I meant with copy instance. Another instance with the same, but read only settings, to be closed right after the elevated stuff is done.Marco wrote:Maybe a "stealth" clone of ...
Thanks for the pointer.
Cheers,
Filehero
Code: Select all
/fresh
Loads XY with
the current (ie. from the calling instance) registration info
OR
the reg.info contained in the default ini (Data/XYplorer.ini),
AND
nothing else, ie. bare/default/factory unlocalized config
PLUS
ActionLog and SaveSettingsonExit unchecked/set off
/clone
Loads XY with
the current (ie. from the calling instance) full config and localization
OR
the full config in the default ini (Data/XYplorer.ini) (and localization, would be specifiable?)
OR
the full config contained in the specified ini (/ini=Jason.ini) (and localization, would be specifiable?),
AND
any form of saving settings on disk (action log, tags, history, thumbs, whatever) internally disabledeven the save settings "circuits" can be tested without any risk of overwriting settings.C:\Programs\XYplorer\XYplorer.exe /ini="%temp%\XY_<date yyyymmddhhnnss>\"
From Filehero suggestionadmin wrote:Confused. What problem is still open, resp. what would be solved by /clone?
Filehero wrote:Question: could the solution/approach described in here be used to address the "needs admin rights"-issue in a rationale way? I know in essence this is the "start new elevated instance"-approach. But if done that way, I really could life with it. Especially since all information I could get officially and from "the underground" end up with the same conclusions, that is - yes, you guess right - "restart your stuff elevated".
So: can we marry the "New /fresh switch"-approach and the "need-admin-rights"-case in a way not changing the current settings of the instance the call originates from? Basically it would be a "disposable" copy instance with elevated access rights.