ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: Batch adjust shortcut targets

<< < (15/15)

tenten:
Thanks very much for this great tool! How can I use a part of the file name in the new path in BSM? For example, I have
--- ---d:\pictures\2019-07-03_001.jpg and want to change that to
--- ---d:\pictures\2019\07\03_001.jpg

4wd:
Thanks very much for this great tool!-tenten (July 20, 2020, 06:51 AM)
--- End quote ---

Thanks, surprised anyone still uses it. ;D

How can I use a part of the file name in the new path in BSM?
--- End quote ---

You can't, filename and path are treated separately.

It's not apparent in your example whether the shortcut name is the same as the original filename, the new filename, or something different.  Can you clarify?

I've added the source code to my original post since I haven't touched AutoIt for years, (don't have it installed anymore - I prefer PowerShell these days since I don't have to install anything).
The version of AutoIt I was using, (3.3.8.0), is about 10 releases behind what is currently available so I'd expect either some functions are now incorporated into AutoIt or possibly break because something they rely on has changed.

Navigation

[0] Message Index

[*] Previous page

Go to full version