CustomCopyBlacklist.dat Comments

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

CustomCopyBlacklist.dat Comments

Post by TheQwerty »

Does the CustomCopyBlacklist.dat file have any support for comments?
I don't see it mentioned in the help and though I'm sure crafting comments as non-existing paths would suffice, some official support would be better.

I'd like to let future me know WTF current me is thinking.
It won't change his opinion that I'm an idiot but might minimize his confusion. ;)

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

Re: CustomCopyBlacklist.dat Comments

Post by admin »

You mean this kind of comments?

Code: Select all

%ALLUSERSPROFILE%
%ProgramFiles%
%ProgramFiles(x86)%  //for 64-bit Windows only
%WinDir%
Currently not supported. But I could add it. I added it.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: CustomCopyBlacklist.dat Comments

Post by TheQwerty »

Rather than trailing comments, I was thinking more of the INI style using ; or # like so:

Code: Select all

%ALLUSERSPROFILE%
; Native Program Files
%ProgramFiles%
# 32-bit redirection for 64-bit Windows only
%ProgramFiles(x86)%
%WinDir%
Figured that would be easier to parse but I'm fine with trailing comments!

Thanks Don! :tup:


Breadcrumbs to changelog....
https://www.xyplorer.com/xyfc/viewtopic.php?p=198221#p198221 wrote:

Code: Select all

v23.00.0014 - 2022-04-08 10:20
    + Custom Copy: The Custom Copy Blacklist now supports comments, e.g.:
        %ALLUSERSPROFILE%
        %ProgramFiles%
        %ProgramFiles(x86)%  //needed for 64-bit Windows only
        %WinDir%    
    ! List: A manually sorted list could flash (due to an overzealous auto-refresh) while 
      a file was downloading into it. Fixed.
    ! Custom File Icons: Fixed some glitches with the new extracted icons.

Post Reply