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

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

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

    常用鏈接

    統計

    最新評論

    2011年12月7日 #

    Create Struts 2 Application in Eclipse : HTTP Status 500

    http://viralpatel.net/blogs/2009/12/tutorial-create-struts-2-application-eclipse-example.html 

    problem:

    HTTP Status 500 

    java.lang.NullPointerException 	
    org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
    com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
    resolve problem:
    1. struts.xml should under src
    2. in struts.xml:  
    <action name="login" method="excute"
    class="net.viralpatel.struts2.LoginAction">

    posted @ 2012-04-21 02:41 九寶 閱讀(399) | 評論 (0)編輯 收藏

    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 @ 2011-12-07 22:29 九寶 閱讀(360) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 亚洲AV永久无码精品一福利| 亚洲免费网站在线观看| 精品视频免费在线| 成人在线视频免费| 日韩亚洲不卡在线视频中文字幕在线观看| 182tv免费视视频线路一二三| 久久国产亚洲精品无码| 亚洲成人在线免费观看| 亚洲精品福利在线观看| 久久久久久久免费视频| 亚洲欧美成aⅴ人在线观看| 国产青草视频免费观看97| 羞羞视频免费网站含羞草| 国产国拍亚洲精品福利| 国产免费网站看v片在线| 亚洲免费视频网站| 成人免费福利视频| 亚洲日本一线产区和二线产区对比| 黄网址在线永久免费观看| 日本免费精品一区二区三区| 亚洲欧洲美洲无码精品VA| 99精品免费观看| 亚洲欧洲日产专区| 午夜精品在线免费观看| 特a级免费高清黄色片| 国产亚洲成AV人片在线观黄桃 | 国产特黄一级一片免费| 亚洲色成人WWW永久网站| 精品无码无人网站免费视频 | 亚洲精品老司机在线观看| GOGOGO免费观看国语| 亚洲伊人久久大香线蕉苏妲己| 91视频国产免费| 免费夜色污私人影院网站电影| 亚洲精品国产美女久久久| 99久久久国产精品免费无卡顿| 黄色a三级免费看| 亚洲国产精品一区二区久久| 免费的一级片网站| 中国国产高清免费av片| 亚洲欧洲日韩国产一区二区三区 |