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...
How to change movie folder on PC
Re: How to change movie folder on PC
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
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