How to change movie folder on PC

libero
Posts: 71
Joined: Tue Jun 15, 2010 2:29 pm

Re: How to change movie folder on PC

Post by libero »

Hi Eugene,

I made some tries. The program needs to find a file with the correct name in the old folder. It doesn't matter if it is an empty file, I created an empty file with the correct name in the old path and the program saved correctly the wmi file. If i delete it it does not save anything.

perhaps is the "if FileExists(aItem.Properties[mpiFilePath]) then begin".

Seems to be that one...
libero
Posts: 71
Joined: Tue Jun 15, 2010 2:29 pm

Re: How to change movie folder on PC

Post by libero »

Ok, I did it.

I removed the if file exist check... then recreated the correct folder structure (without the files) on the correct path with an "xcopy d:\videos Z:\ /t /e" and at that point the program saved all the files in the correct position, now I can copy them back on the actual drive.

thanks
Post Reply