Index: Include/Classes/System/IO/Path.ab
===================================================================
--- Include/Classes/System/IO/Path.ab	(revision 135)
+++ Include/Classes/System/IO/Path.ab	(revision 136)
@@ -7,6 +7,5 @@
 
 	Static Function GetFileName(path As String) As String
-		path.Remove(0, getLastSeparatorPosision(path) + 1)
-		Return path
+		Return path.Remove(0, getLastSeparatorPosision(path) + 1)
 	End Function
 
@@ -19,6 +18,5 @@
 		If extPos = -1 Then Return ""
 
-		fileName.Remove(extPos)
-		Return fileName
+		Return fileName.Remove(extPos)
 	End Function
 
@@ -36,6 +34,5 @@
 		If extPos = -1 Then Return ""
 
-		path.Remove(0, extPos)
-		Return path
+		Return path.Remove(0, extPos)
 	End Function
 	
@@ -44,5 +41,5 @@
 		extPos = getExtensionPosition(path)
 		If extPos => 0 Then
-			path.Remove(extPos)
+			path = path.Remove(extPos)
 		End If
 
@@ -96,5 +93,5 @@
 		If lastSepPos = -1 Then Return ""
 
-		path.Remove(lastSepPos)
+		path = path.Remove(lastSepPos)
 		If path.Length <= 3 Then
 			If IsPathRooted(path) Then Return ""
@@ -105,6 +102,5 @@
 	Static Function GetPathRoot(path As String) As String
 		If IsPathRooted(path) Then
-			path.Remove(3)
-			Return path
+			Return path.Remove(3)
 		Else
 			Return ""
@@ -145,5 +141,4 @@
 		Dim lastSepPos As Long
 		Dim dirSepChar As String(Chr$(DirectorySeparatorChar))
-		Dim altDirSepChar As String(Chr$(AltDirectorySeparatorChar))
 		Dim volSepChar As String(Chr$(VolumeSeparatorChar))
 		lastSepPos = path.LastIndexOf(dirSepChar)
