Hey,
i change to a new Fileserver and each movie in my Ant Movie Catalog should become a new URL.
Is there a way to mass change the URLs in AMC in one run like regexp or so?
Example:
if URL contains \\192.168.0.219 change it to \\192.168.0.218
Thank you
Daniel
Mass Changing of URLs
-
bad4u
- Posts: 1148
- Joined: 2006-12-11 22:54:46
You can use a little script to do this:
Code: Select all
program ReplaceString;
const
oldValue = '192.168.0.219';
newValue = '192.168.0.218';
var
value: string;
begin
value := GetField(fieldURL);
value := StringReplace(value, oldValue, newValue);
SetField(fieldURL, value);
end.-
Cojun
- Posts: 4
- Joined: 2009-08-21 10:00:14
- Location: Germany
-
antp
- Site Admin
- Posts: 9903
- Joined: 2002-05-30 10:13:07
- Location: Brussels
-
Cojun
- Posts: 4
- Joined: 2009-08-21 10:00:14
- Location: Germany