VB Script for Renaming LNK target and working directory
Posted on 2015-02-10
I need a vbscript that will rename the target and working directory in LNK files located in a folder and its sub-folders.
It will be called from a batch file.
cscript //nologo RenameLnkFiles.vbs "C:\My Documents" "\\server1" "\\server2"
"C:\My Documents" = Working folder (including its subfolders)
"\\server1" = Replace this from all UNCs by "\\server2"
I hope I express my need clearly ennough. If you have any questions, please let me know.
Thanks for your help,