diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-EC567597-093B-50C8-90FF-300A439A99A5.dita --- a/Symbian3/PDK/Source/GUID-EC567597-093B-50C8-90FF-300A439A99A5.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-EC567597-093B-50C8-90FF-300A439A99A5.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,20 +1,29 @@ - - - - - -How to rename files
Using Rename()

The following code fragment does not rename the directory bottomdir, but moves it from directory middledir to topdir:

RFs fs; -... -_LIT(KOldDir,"\\topdir\\middledir\\bottomdir\\"); -_LIT(KNewDir,"\\topdir\\bottomdir\\"); -... -fs.Rename(KOldDir,KNewDir);
Using IsValidName()

When specifying a name, any spaces between the drive, if specified, and the first directory in the path are illegal.

The following code fragment returns false:

... -_LIT(KDirName,"C: \\DIR\\"); -TBool bool=fs.IsValidName(KDirName); -...
\ No newline at end of file + + + + + +How +to rename filesThis topic describes how to rename files. +
Using Rename()

The +following code fragment does not rename the directory bottomdir, +but moves it from directory middledir to topdir:

RFs fs; +... +_LIT(KOldDir,"\\topdir\\middledir\\bottomdir\\"); +_LIT(KNewDir,"\\topdir\\bottomdir\\"); +... +fs.Rename(KOldDir,KNewDir);
+
Using IsValidName()

When +specifying a name, any spaces between the drive, if specified, and the first +directory in the path are illegal.

The following code fragment returns +false:

... +_LIT(KDirName,"C: \\DIR\\"); +TBool bool=fs.IsValidName(KDirName); +...
+
\ No newline at end of file