Page 2 of 2

Re: How to change movie folder on PC

Posted: Thu Jul 28, 2011 10:18 pm
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...

Re: How to change movie folder on PC

Posted: Thu Jul 28, 2011 10:35 pm
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