<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    常用鏈接

    統計

    最新評論

    How to check file properties through WMI command line (fw)

    How to check file properties through WMI command line

    24.Sep.2009 | by Gusac | Filed in: Articles, Tutorials

    With the lack of Graphical Interface on Windows 2008 Core server there comes a need of performing a lot of task through command line. One of which is checking file properties like file version, path, product verision etc. Luckily we have a command that makes this task simple. On a side note, We can also run the same command on other operating systems like Windows Xp, 2003, vista.

    Here is the command:
    wmic datafile where name='c:\\windows\\system32\\notepad.exe'

    Click here to view the enlarged screenshot

    Notice that we have used two backslashes \\ in the file path. Also, notice that the path is enclosed in the single quotes.
    The output will be confusing to read in command prompt window. To read and understand it better, we can take the output in text format and read it in notepad.

    While doing so, please do NOT wrap the text.
    wmic datafile where name='c:\\windows\\system32\\notepad.exe' > out.txt

    Click here to view the enlarged screenshot

    The output will reveal the file properties like Hidden, Path, Drive, Version Caption, Access rights etc.

    To get one particular property of a file we need to modify the command a little bit. We need to use the GET Alias injunction to the command mentioned above. Let's say we want to check the version for the file notepad.exe. The command that is used for this is:
    wmic datafile where name='c:\\windows\\system32\\notepad.exe' get version

    Similarily, there is a list of properties that can be fetched through this command line. They are:

    Access Rights
    Caption
    Class Name
    Compressed
    Compression Method
    Computer System Class Name
    Computer System Name
    Creation Date
    Current File Open Count
    Description
    Drive
    Eight Dot Three File Name
    Encrypted
    Encryption Method
    File Extension
    File Name
    File System Class Name
    File System Name
    File Type
    Hidden
    Install Date
    Last Accessed
    Last Modified
    Manufacturer
    Name
    Path
    Readable
    Should Be Archived
    Size
    Status
    System File
    Version
    Writeable

    posted on 2011-12-07 22:29 九寶 閱讀(360) 評論(0)  編輯  收藏 所屬分類: Win

    主站蜘蛛池模板: 久操免费在线观看| 无忧传媒视频免费观看入口| 国产成人免费片在线观看| 可以免费观看的毛片| 蜜芽亚洲av无码一区二区三区 | 成人永久免费福利视频网站| 真实乱视频国产免费观看| 免费一级做a爰片久久毛片潮喷| 男女啪啪永久免费观看网站| 亚洲狠狠爱综合影院婷婷| 自拍偷自拍亚洲精品第1页 | 亚洲日本一区二区三区| 亚洲av午夜精品无码专区| 亚洲成在人线在线播放无码| 中文字幕亚洲专区| 色欲aⅴ亚洲情无码AV| 国产免费久久精品丫丫| 好爽…又高潮了免费毛片| 国产AV无码专区亚洲AWWW| 亚洲欧洲免费视频| 免费在线黄色电影| 亚洲91精品麻豆国产系列在线| 色网站在线免费观看| 亚洲一区二区免费视频| 中文字幕在线亚洲精品| 三级片免费观看久久| 日本不卡在线观看免费v| 激情五月亚洲色图| 中文免费观看视频网站| 亚洲国产精品毛片av不卡在线| 亚洲国产品综合人成综合网站| 成人无码精品1区2区3区免费看| 精品女同一区二区三区免费站| 亚洲色欲一区二区三区在线观看 | 国产午夜精品理论片免费观看 | 中文字幕a∨在线乱码免费看| 天天操夜夜操免费视频| 亚洲福利电影在线观看| 亚洲精品免费视频| 亚洲女久久久噜噜噜熟女| 日韩免费码中文在线观看|