Sunday, January 18, 2009

change filename

to change the name of a file named 'file1.log' to 'file2.log'

PS> rename-item -path r:\temp\file1.log file2.log

No comments:

Post a Comment