Hi,
Running on windows, accessing ubuntu files via a samba share. The share is connected as the file owner.
I would like to be able to rename the file but so far no luck.
The old and new file names are in a stringgrid and my attempt is using:
if not renamefile(Display.Cells[0,i],Display.Cells[1,i]) then showmessage('Rename Failed');
The contents of the cells are like:
\\machinename\sharename\directory\file.txt
I have tried values like
\\machinename\sharename\directory\file.txt, \\machinename\sharename\directory\file2.txt
\\machinename\sharename\directory\file.txt, file2.txt
but still get rename failed showing.
any ideas?
Thanks Derek