You can use Join-Path and it will put in the directory slash for you. $objWorkbook = $objExcel.Workbooks.Open (Join-Path $Log_path $Log_name).
確定! 回上一頁