Some bugs

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
eil
Posts: 1932
Joined: 13 Jan 2011 19:44

Re: Some bugs

Post by eil »

so you want to open only 0.30-39 with certain program but not all the others.?(<0.29 or >0.40)
by the way, but saying POM i guess you're refering to PFA, don't you?
if so, just input your desired extensions there like this:

Code: Select all

+bmp;jpg;gif;png>C:\Program Files\XYplorer\NexusImage\NexusImage.exe
(example with my program for more visual aid)
Win 7 SP1 x64 100% 1366x768|1900x1080

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

eil wrote:so you want to open only 0.30-39 with certain program but not all the others.?(<0.29 or >0.40)
by the way, but saying POM i guess you're refering to PFA, don't you?
if so, just input your desired extensions there like this:

Code: Select all

+bmp;jpg;gif;png>C:\Program Files\XYplorer\NexusImage\NexusImage.exe
(example with my program for more visual aid)
No, they are all to be opened with the same program. I just wanted to be able to click on ANY of the .001 > .099 number and be able to open it with 7zip (my default program for using split files)

The entry above does not help with that. :(


Edit: for example:

Code: Select all

000;001;002;003;004;005;006;007;008;009;010;01*;02*;03*;04*;05*;06*;07*;08*;09*;7z;7zip>D:\Applications\7-Zip\7zFM.exe

This (should) would enable me to launch .099 files with 7zip, but it doesn't. However, when I use this in custom color scripting, it works fine! wtf!?

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Some bugs

Post by PeterH »

stisev wrote:I am trying to set Portable Open Manager (POM) to open a .030 file by putting in .03* (meaning from .030 > .039) but it won't accept it.
Shouldn't you use *.03* ?

I think if any placeholder is used you must specify each placeholder.

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

Shouldn't you use *.03* ?

I think if any placeholder is used you must specify each placeholder.

WTF. Yes that worked! Wow, ok, that is very, very confusing to say the least, but it worked!

Thank you so much! My fingers thank you ;)

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

PeterH,
Since you're online, 3 more questions:

1) Do you know if there's any way to prevent XYplorer from opening folders into new tabs that are opened from outside of the app (etc from explorer). When I open a folder like from a USB key that pops up on my desktop, it opens in a new tab, instead of the current tab.

2) Any idea how to associate MY COMPUTER with xyplorer like DOpus does. I did associate xyplorer, but it only does it with the drives within, not the my computer folder.


3) Any way to put the following in Portable File Associations box JUST for the OpenWith menu (NOT to actually open EVERY file with 7zip). There are some times I have archives that I would like to open with 7zip. I would like that option in the openwwith menu.


*.*>D:\Applications\7-Zip\7zFM.exe


If I add that to the menu, it tries to open every file with 7zip (even if I put it always at the bottom)

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Some bugs

Post by nas8e9 »

[Removed for being nonsense.]
Last edited by nas8e9 on 16 Aug 2011 12:19, edited 2 times in total.

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

I take it you mean Portable File Associations?

The help file you quote, doesn't indicate that the extensions themselves can contain wildcards; the characters "*" and "?" have a different meaning in this context.

Based on this, I'd say this is currently unsupported.
rofl. I fixed the problem. See above for other user's advice.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Some bugs

Post by nas8e9 »

stisev wrote:
I take it you mean Portable File Associations?

The help file you quote, doesn't indicate that the extensions themselves can contain wildcards; the characters "*" and "?" have a different meaning in this context.

Based on this, I'd say this is currently unsupported.
rofl. I fixed the problem. See above for other user's advice.
FWIW, I completely missed the second page of the thread, on top of my answer being incorrect. Some mornings don't particularly work... :oops:

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

I appreciate your help thought :)

eil
Posts: 1932
Joined: 13 Jan 2011 19:44

Re: Some bugs

Post by eil »

stisev wrote:The entry above does not help with that. :(
sorry, it works with images to me. seems it does 'cause all extension are strictly stated. my second guessing was the one PeterH posted :)
2) case don't think it's possible. as for 3) use

Code: Select all

|"Open with 7Zip" *.*>D:\Applications\7-Zip\7zFM.exe
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Some bugs

Post by TheQwerty »

Just a quick note but using *.03* may not be what you actually want.

PFA follows some rules in determining whether a pattern should be tested against to the full path, file name, or just extension. From the help:
Rules

If the pattern contains the character "\" then
it's treated against the full path (relative/portable syntax supported)
Elseif the pattern contains wildcards (*, ?, #) or a dot (.) then
it's treated against the file name
Else
it's treated against the extension
So *.03* is going to match against the file name meaning it will also match "2011.08.03 File.txt" and since * will match any character it would also match "File.03Q" not just .030 - .039.

You'd probably be better served using the # wildcard:

Code: Select all

.030 - .039 = *.03#
.000 - .999 = *.###
.0   - .999 = *.#;*.##;*.###

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Some bugs

Post by nas8e9 »

stisev wrote:1) Do you know if there's any way to prevent XYplorer from opening folders into new tabs that are opened from outside of the app (etc from explorer). When I open a folder like from a USB key that pops up on my desktop, it opens in a new tab, instead of the current tab.
Disabling Configuration > Startup & Exit > Open command line start path in new tab, works for me.
stisev wrote:2) Any idea how to associate MY COMPUTER with xyplorer like DOpus does. I did associate xyplorer, but it only does it with the drives within, not the my computer folder.
XYplorer itself, going by the help file, can't. I've taken a look at a different FM which apparently does support this, but I wouldn't want to guess at the registry mojo it requires.
stisev wrote:3) Any way to put the following in Portable File Associations box JUST for the OpenWith menu (NOT to actually open EVERY file with 7zip). There are some times I have archives that I would like to open with 7zip. I would like that option in the openwwith menu.


*.*>D:\Applications\7-Zip\7zFM.exe


If I add that to the menu, it tries to open every file with 7zip (even if I put it always at the bottom)
You could add your main compression program above 7-Zip in the PFA-list; this way, your main program would be used by default but 7-Zip would still feature in the list.

For reference:
The PFAs are used on Dbl-Click, <Enter> and <Ctrl+Enter>, and they are processed from top to bottom. Hence their order is important because the first matching pattern will make it.

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

|"Open with 7Zip" *.*>D:\Applications\7-Zip\7zFM.exe
Thanks! That worked! :D
o *.03* is going to match against the file name meaning it will also match "2011.08.03 File.txt" and since * will match any character it would also match "File.03Q" not just .030 - .039.

You'd probably be better served using the # wildcard:
Thanks for your response! I tried your suggestion and you absolutely nailed it.
I used .000 - .999 = *.### and this worked for color filters + file association
Disabling Configuration > Startup & Exit > Open command line start path in new tab, works for me.
Thanks! I guess I missed this option's function while browsing through it. It worked!

XYplorer itself, going by the help file, can't. I've taken a look at a different FM which apparently does support this, but I wouldn't want to guess at the registry mojo it requires.
You're right. Not a big deal at all. I love Don's portable philosophy and understand why he doesn't want to do this, even though the other settings do (have to) touch the registry.
You could add your main compression program above 7-Zip in the PFA-list; this way, your main program would be used by default but 7-Zip would still feature in the list.
The pipe (|) feature mentioned above worked perfectly. Had no idea you could pipe BY ITSELF to place in the POM (portable open menu)



I meant Portable File Associations and Portable Open Menu, where specified (which I did a bad job at ;) )

vrtarifaachen
Posts: 124
Joined: 02 Jul 2009 14:28

Re: Some bugs

Post by vrtarifaachen »

Well, what the hell. As long as I'm on a roll... ;)


1) Does anyone know a way to securely delete a file using sdelete?

Here are the parameters:

"D:\Applications\SDelete\sdelete.exe" -p 3 -s -q

Code: Select all

usage: sdelete [-p passes] [-s] [-q] <file or directory>
       sdelete [-p passes] [-z|-c] [drive letter]
   -c         Zero free space (good for virtual disk optimization)
   -p passes  Specifies number of overwrite passes (default is 1)
   -q         Don't print errors (Quiet)
   -s         Recurse subdirectories
   -z         Clean free space

2) Anyone know if it's possible to replace the CMD.exe (other than disabling WFC and replacing with powercmd) launched by typing "!" in the address bar to another program? I use PowerCMD (If you haven't tried it, it's a godsend!) It's located at: "D:\Applications\PowerCmd\PowerCmd.exe"
EDIT: If this is not possible, is it possible to open PowerCMD using a userbutton, while feeding the location of the directory to powercmd? like it does to cmd.exe

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Some bugs

Post by nas8e9 »

stisev wrote:1) Does anyone know a way to securely delete a file using sdelete?
You could add a custom button to the toolbar and set the On click-property to:

Code: Select all

"D:\Applications\SDelete\sdelete.exe" -p 3 -s -q <curitem>;
Testing before production use comes recommended.

stisev wrote:2) Anyone know if it's possible to replace the CMD.exe (other than disabling WFC and replacing with powercmd) launched by typing "!" in the address bar to another program? I use PowerCMD (If you haven't tried it, it's a godsend!) It's located at: "D:\Applications\PowerCmd\PowerCmd.exe"
Please see Configuration > Templates > Command Line Interpreter.

Post Reply