2017-09-13 51 views

回答

0

我建立了一個工具,它解析從控制檯命令,它看起來是這樣的結果

show directory xxxx 

DbName        Version Log DAOS NIFNSF PIRC ---Modified Time---- 
K:\DataHS\xxx\xx\xxxx\xxxx_online_test.nsf V9  N/A No No Off 06/29/2016 01:46:28 PM 
K:\DataHS\xxx\xx\xx_Config.nsf V9  N/A No No Off 09/14/2017 07:35:05 AM 
K:\DataHS\xxx\xx\TestFixer.nsf V9  N/A No No Off 08/14/2015 02:57:23 PM 
K:\DataHS\xxx\xx\xxxxxWeb.nsf V9  N/A No No Off 09/14/2017 07:01:49 AM 
K:\DataHS\xxx\xx\xxxx\xxxxx_Live.nsf V9  N/A No No Off 03/10/2017 02:01:37 AM 

我然後刪除多個空格,找到第三到最後一個字。這是「關」或「開」