Hi everyone,

I'm trying to rename files with this code but it doesn't work, pharo is
saying me "PrimitiveFailed"
I tried lots of things and I'm not finding how I can rename this file,
someone has an idea please?

| myFile |
myFile := FileSystem root / 'aPath/cat.jpg'.
myFile renameTo:'cats.jpg'

Valentin

Reply via email to