Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Using Powershell to Move & Rename a File

$
0
0
I was wondering if there is a powershell script I could run as a scheduled task that will perform the following:

  1. Move file from "C:\Program Files (x86)\NCSOFT\Aion\Chat.log"
  2. To "C:\Users\Longstone\Documents\Aion Logs\Chat Log"
  3. Rename the Chat.log in the new location to yearmonth.log (e.x.200910) or any similar descriptive name
Thanks in advance.

Viewing all articles
Browse latest Browse all 15028

Trending Articles