Change Log for the latest
XYplorer BETA version:
Code: Select all
v23.00.0208 - 2022-05-06 10:45
+ New variable: <xyparent> = parent of XYplorer app path (unslashed). Points
to "<xypath>\..".
+ SC getpathcomponent(), gpc(): Added component value "dos" to convert a long
path spec to DOS format (aka 8.3 format).
Remarks:
- Yes, that's a bit of an abuse of this function, but tolerable I think.
- Only the valid (existing) part of the input path is returned.
- The return is always without trailing backslash, even if the input had one.
- Note that in Windows the 8.3 file naming can be enabled/disabled per drive. If it is disabled
then this function returns the (valid part of the) input unchanged (apart from
removing any trailing backslash).
Example:
echo getpathcomponent("C:\Program Files", "dos"); //C:\PROGRA~1
+ SC getpathcomponent(), gpc(): Added component value "long" to convert a DOS/8.3
path spec into the long format.
Remarks:
- See above under "dos".
Example:
echo getpathcomponent("C:\PROGRA~1", "long"); //C:\Program Files
+ SC getpathcomponent(), gpc(): Added flag values to convert a path to and from
DOS/8.3 format, and a new component value "full".
Syntax: getpathcomponent([path], [component], [index=1], [flags])
component:
full: Return all components of the input path.
flags: (bit field)
8 = Convert long format to DOS/8.3
16 = Convert DOS/8.3 to long format
Examples:
echo getpathcomponent("C:\Program Files", "full", 3:=8); //C:\PROGRA~1
echo getpathcomponent("C:\PROGRA~1", "full", 3:=16); //C:\Program Files
echo getpathcomponent("C:\Program Files\AutoHotkey\AutoHotkeyU64.exe", "file", 3:=8); //AUTOHO~3.EXE

To
update to this BETA version from XYplorer, hold down the
CTRL key while you click
Help | Online Support | Check for Updates. To
download it, choose a package: (1)
Installer Package, (2)
No-Install Package.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned. It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...) before running a new BETA version. This will also help in fixing any fresh bugs.