#使用get-content path顯示檔案內容
PS C:\> get-content c:\a.txt

#使用${path} 顯示檔案內容
PS C:\> ${C:\a.txt}

#
${C:\a.txt}.length為檔案的行數
# (get-content c:\a.txt).length為檔案的行數
(get-item c:\a.txt).length為檔案的大小 (In Bytes)

arrow
arrow
    全站熱搜

    ayowu 發表在 痞客邦 留言(0) 人氣()