Hi Philip,
sorry, i don't really have a solution for your problem but maybe you
could try "dir *. /s /b /on" instead of "tree" as a
workaround. This
will not only list folders but also files without an extension. On the
other hand you get the option to sort the output by other criteria then
the folder's name. I hope that helps !
cheers, Ulf
Philip Lawatsch schrieb:
> Hi,
>
>
> I've the folloing setup:
>
> 2 Machines running w2k with the latest patches,
> 1 Linux machine running samba 3.0.5
>
> If have on local drive, one mount from w2k to w2k and one from samba to
> w2k.
>
> If i now do
>
> mkdir a
> mkdir b
> mkdir z
> mkdir c
>
> on all of them, I get different Results from a "dir" or
"tree" command.
>
> In case of the local drive or the mount from w2k to w2k the newly
> created directories are listed sorted, like
>
> E:\test>tree /A
> E:.
> +---a
> +---b
> +---c
> \---z
>
> However, in the case of the samba mount they're sorted in the order of
> creation (a,b,z,c).
>
> Is there any way to get the same behavour (sorting alphabetically) from
> samba too? My problem is that for instance the output of a tree command
> of samba share is rather useless since its not sorted in a way I can
> lookup fast ;)
>
> kind regards Philip
>