This commit is contained in:
CodyZhang
2020-06-02 18:42:29 +08:00
parent db4ba7274f
commit 4774203e76

View File

@@ -6,9 +6,9 @@ Memo : 在很大的Log檔中取出所需的資訊
<# 設定日期區間 #>
# 開始時間
$startDate = Get-Date "2020-04-01"
$startDate = Get-Date "2020-05-13"
# 結束時間
$endDate = Get-Date "2020-04-21"
$endDate = Get-Date "2020-05-15"
# 間隔
$daysToSkip = 1
@@ -48,7 +48,7 @@ while ($startDate -le $endDate) {
foreach($folder in $folders)
{
# 建新檔名
$file = "D:\APLog\$($folder)\LogsTemp\$($dateString)\VenderAPI.log"
$file = "\\paylog01p\Logs\$($folder)\LogsTemp\$($dateString)\VenderAPI.log"
# 要找的字串
# 在這是 JCICP40Query