6UNote6

備忘録

PowerShell

【PowerShell】呼び出し方 file_copy

file_copy.bat @echo offcd C:/Users/xxxxx/Desktop/pspowershell -NoProfile -ExecutionPolicy Unrestricted ./file_copy.ps1echo 完了しました!pause > nulexit file_copy.ps1 - ショートカット リンク先 C:\Windows\System32\WindowsPowerShell\v1.0\pow…

【PowerShell】ファイルコピー file_copy

file_copy.ps1 #ファイルコピー [String]$folderPath = (Get-Location).Path [String]$destFolderpath = $folderPath + "\TEST" [String]$logFilePath = $folderPath + "\log.log" [String]$csvFilePath = $folderPath + "\path.txt" [String]$filterName = …