UDC error.

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UDC error.

Post by admin »

jacky wrote:
admin wrote:uh? <base>, <curbase> and <curfolder> can be part of file specs and hence must not be quoted. To quote <items> always cannot harm. Or?
Yeah, those should not be quoted of course. And it probably doesn't harm that way, I just thought maybe <items> should behave as all the others (including the app's path/name) instead of being an exception.
Damn, I don't get it. :mrgreen: Now all <items> are quoted. Where's inconsistency here? And what did you originally ask me to do?

PS: statusbar -- yeah, good idea! I drop the last one.

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

Re: UDC error.

Post by jacky »

admin wrote:Damn, I don't get it. :mrgreen: Now all <items> are quoted. Where's inconsistency here? And what did you originally ask me to do?
Look, I got shiny glasses! 8)
;)

Ok, so originally it was about <items> being quoted or not depending on the type of call (single/multiple) - now it's all the same.

What I'm just saying now is that it may look a little weird that :
- Application's path/name must be quoted (by user)
- <curbase> and all the others must be quoted (by user)
- <items> should NOT be quoted! (by user)

That's the inconsistency I'm talking about, as one could think quotes should be used everywhere when defining the "comand line", while in fact using "<items>" (with quotes) will not work, obviously.

Was that any more clear ?
Proud XYplorer Fanatic

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

Re: UDC error.

Post by admin »

jacky wrote:
admin wrote:Damn, I don't get it. :mrgreen: Now all <items> are quoted. Where's inconsistency here? And what did you originally ask me to do?
Look, I got shiny glasses! 8)
;)

Ok, so originally it was about <items> being quoted or not depending on the type of call (single/multiple) - now it's all the same.

What I'm just saying now is that it may look a little weird that :
- Application's path/name must be quoted (by user)
- <curbase> and all the others must be quoted (by user)
- <items> should NOT be quoted! (by user)

That's the inconsistency I'm talking about, as one could think quotes should be used everywhere when defining the "comand line", while in fact using "<items>" (with quotes) will not work, obviously.

Was that any more clear ?
Yes :) You know this but i explain anyway: The ultimate reason behind this surface inconsistency is obviously: in a single instance call <items> will be set to a list of individually quoted items: "item1" "item2" "item3", so the quotes are inside of the variable in this one special case.

OK, i could be so nice and allow "<items>" and just drop those superfluous quotes silently...

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

Re: UDC error.

Post by jacky »

admin wrote:OK, i could be so nice and allow "<items>" and just drop those superfluous quotes silently...
Yeah, I think that would be nice...
Proud XYplorer Fanatic

Post Reply