powershell 中 Get-ChildItem 命令的默认结果集顺序是什么? [英] What is the default order of result set from Get-ChildItem command in powershell?

查看:50
本文介绍了powershell 中 Get-ChildItem 命令的默认结果集顺序是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

powershell 中 Get-ChildItem 命令的默认结果集顺序是什么?到底有没有顺序,还是只是随机的,每次都会以不同的顺序给出结果.

What is the default order of result set from Get-ChildItem command in powershell? Is there a order at all or is it just random and would give the results in a different order every time.

推荐答案

First folders in alphanumeric order (first numbers as [char]).
Then files in alphanumeric order (first numbers as [char]).

这篇关于powershell 中 Get-ChildItem 命令的默认结果集顺序是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆