Opened 4 years ago

Last modified 3 years ago

#52 new enhancement

TREE does not appear to support ranges

Reported by: Lewis Rosenthal Owned by:
Priority: minor Milestone: Version-3.10
Component: Commands Version: 3.09
Keywords: Cc:

Description

Contrary to what the help claims, the TREE command does not seem to support ranges for inclusion or exclusion.

{0}[j:\devel\arcaos\trunk\media\common\cid\server\mmos2\drivers] tree /[USB*] .
SYS0003: The system cannot find the path specified. "J:\[USB*]"

J:\devel\arcaos\trunk\media\common\CID\SERVER\MMOS2\DRIVERS
├──BUSAUDIO
├──CR4231
│  └──FILES
├──CR423X
│  └──FILES
├──ESS1688
├──ESS1788
├──ESS1868
├──ESS1888
├──ESS688
├──SB16
│  └──DSP
├──SB16PNP
│  └──DSP
├──SBAWE32
│  ├──DSP
│  └──SBK
├──SBAWEPNP
│  ├──DSP
│  └──SBK
├──SBLIVE
├──UNIAUD
├──USBAUD2
└──USBWAV

Likewise:

{0}[j:\devel\arcaos\trunk\media\common\cid\server\mmos2\drivers] tree /[!USB*] .
SYS0003: The system cannot find the path specified. "J:\[!USB*]"

J:\devel\arcaos\trunk\media\common\CID\SERVER\MMOS2\DRIVERS
├──BUSAUDIO
├──CR4231
│  └──FILES
├──CR423X
│  └──FILES
├──ESS1688
├──ESS1788
├──ESS1868
├──ESS1888
├──ESS688
├──SB16
│  └──DSP
├──SB16PNP
│  └──DSP
├──SBAWE32
│  ├──DSP
│  └──SBK
├──SBAWEPNP
│  ├──DSP
│  └──SBK
├──SBLIVE
├──UNIAUD
├──USBAUD2
└──USBWAV

Specifying the full path also does not work:

{0}[j:\devel\arcaos\trunk\media\common\cid\server\mmos2\drivers] tree /[!J:\devel\arcaos\trunk\media\common\CID\SERVER\MMOS2\DRIVERS\USB*] .
SYS0003: The system cannot find the path specified. "/[!J:\devel\arcaos\trunk\media\common\CID\SERVER\MMOS2\DRIVERS\USB*]"

J:\devel\arcaos\trunk\media\common\CID\SERVER\MMOS2\DRIVERS
├──BUSAUDIO
├──CR4231
│  └──FILES
├──CR423X
│  └──FILES
├──ESS1688
├──ESS1788
├──ESS1868
├──ESS1888
├──ESS688
├──SB16
│  └──DSP
├──SB16PNP
│  └──DSP
├──SBAWE32
│  ├──DSP
│  └──SBK
├──SBAWEPNP
│  ├──DSP
│  └──SBK
├──SBLIVE
├──UNIAUD
├──USBAUD2
└──USBWAV

Dot-prefixed paths fail similarly:

{0}[j:\devel\arcaos\trunk\media\common\cid\server\mmos2\drivers] tree /[.\USB*] .
SYS0003: The system cannot find the path specified. "J:\[.\USB*]"

J:\devel\arcaos\trunk\media\common\CID\SERVER\MMOS2\DRIVERS
├──BUSAUDIO
├──CR4231
│  └──FILES
├──CR423X
│  └──FILES
├──ESS1688
├──ESS1788
├──ESS1868
├──ESS1888
├──ESS688
├──SB16
│  └──DSP
├──SB16PNP
│  └──DSP
├──SBAWE32
│  ├──DSP
│  └──SBK
├──SBAWEPNP
│  ├──DSP
│  └──SBK
├──SBLIVE
├──UNIAUD
├──USBAUD2
└──USBWAV

Change History (2)

comment:1 Changed 3 years ago by Gregg Young

Type: defectenhancement

"Directory" exclude lists are not supported by 4OS2. This is an enhancement request. Consider for directory syntax use a trailing/or\

comment:2 Changed 3 years ago by Lewis Rosenthal

Ah, so include and exclude ranges are currently only useful with the tree command when specifying the /F option to display filenames.

Indeed, as I am working on enhancing and updating the help text, this is good information to have. I never stopped to consider this distinction before, instead assuming that "a name was a name" in the context of ranges.

Note: See TracTickets for help on using tickets.