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

Rename files using a text file in Powershell

$
0
0

I've read the other answers to this problem but my circumstances are slightly different. I have a txt file with comma separated values, this is an example of one line.

"1,970","07-15-47","00001878.tif",".\images\00001","38,003","TIFF","9/13/2001 2:14:42am","c:\users\ckillion\desktop\city commission minutes\1947\00001878.tif","City Commission Minutes\1947",""

The name of file I want to change is the third comma separated string, and what I want to change it to is the second string

Thanks in advance


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>