Of course I should have written
Hi All,� � just noticed that� � � � UnixFileDirectory default directoryExists: UnixFileDirectory default asString, '/.'answers false, since directoryNames excludes '.' and '..' (justifiable, and changing this might break all manner of things). i.e.FileDirectory>directoryExists: filenameOrPath"Answer true if a directory of the given name exists. The given name may be either a full path name or a local directory within this directory.""FileDirectory default directoryExists: FileDirectory default pathName"| fName dir |DirectoryClass splitName: filenameOrPath to:[:filePath :name |fName := name.filePath isEmptyifTrue: [dir := self]ifFalse: [dir := self directoryNamed: filePath]].^dir exists and: [self isCaseSensitive�ifTrue:[dir directoryNames includes: fName]ifFalse:[dir directoryNames anySatisfy: [:name| name sameAs: fName]]].So how aboutFileDirectory class methods for accessingcurrentDirectoryNickname� � ^'.'FileDirectory>directoryExists: filenameOrPath"Answer true if a directory of the given name exists. The given name may be either a full path name or a local directory within this directory.""FileDirectory default directoryExists: FileDirectory default pathName"| fName dir |DirectoryClass splitName: filenameOrPath to:[:filePath :name |fName := name.filePath isEmptyifTrue: [dir := self]ifFalse: [dir := self directoryNamed: filePath]].^dir existsand: [fName = self class�currentDirectoryNicknameor: [self isCaseSensitive�ifTrue:[dir directoryNames includes: fName]ifFalse:[dir directoryNames anySatisfy: [:name| name sameAs: fName]]]]--
best,Eliot