Page 1 of 1

How to change drive letter/location URL

Posted: 2007-10-04 21:37:49
by zxao
I've been trying to figure this out for months! (not as smart as most of you) But i GOT IT!!

Let me sum up what happened. I added new hardware to my pc. formated and reinstalled xp. most drive letters i was able to change to be the same as they were before the reinstall. all but one wouldn't change.

Every movie in ANT that said was located on "E:\movies" was actually located in "D:\movies". i thought i was screwed. and for about a month or two i was.

Heres how i fixed it.
I opened the amc xml in notepad and replaced "E:\movies" with "D:\movies" and that was it!!! perfecto!

bad4u actually has a better way of doing this

Posted: 2007-10-04 21:41:59
by zxao
Thanks bad4u! I should have just waited for this response.

PostPosted: 2007-10-04 22:33:08 Post subject: Reply with quote
View user's profile Send private message
zxao wrote:
Would i be able to use this to change the drive letter/location in the url field? I used to have a bunch of movies on my "e" drive but its now my "d" drive.


Yes, you can use the script "FindReplace" from the posting above. Just replace the
Code:
Search = 'old';
Replace = 'new';
Field = fieldOriginalTitle;

with
Code:
Search = 'E:\';
Replace = 'D:\';
Field = fieldURL;

The drive letters are case sensitive, so take care if you have small or capital letters on your list (E:\ or e:\).

@antp: Maybe the FindReplace script (perhaps with some helpful comments) should be uploaded to update or archive server, too ?"