Author Topic: length of filenames / paths?  (Read 4557 times)

0 Members and 1 Guest are viewing this topic.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
length of filenames / paths?
« on: November 30, 2011, 02:57:08 pm »
Does anyone know how long filenames and paths can be on the nspire?

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: length of filenames / paths?
« Reply #1 on: November 30, 2011, 02:58:11 pm »
well, I think 32 characters, but I'm not sure.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: length of filenames / paths?
« Reply #2 on: November 30, 2011, 03:20:14 pm »
It's more, I've tested a filename with 36 characters.

edit: after testing, I think the maximal path length is 256 characters, but I'm not quite sure
« Last Edit: November 30, 2011, 03:38:46 pm by lkj »

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: length of filenames / paths?
« Reply #3 on: November 30, 2011, 03:46:36 pm »
a lot, i've tried it with 180 chars.. possibly 256 i think

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: length of filenames / paths?
« Reply #4 on: December 01, 2011, 01:18:50 am »
Indeed, it's around 256 characters. Documents' real pathnames start with "/documents", so the user-available part of the file + folder name is slightly lower than ~256 characters.

Needless to say, the Nspire's UI is not really designed for file / folder names that long, although a tooltip showing the full folder / variable name apperas :D
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: length of filenames / paths?
« Reply #5 on: December 01, 2011, 03:03:40 pm »
And if you click on "recent files" and there is a long named file, it hangs for some seconds.