INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Large File Path Names  (Read 1783 times)

Dutch Peter

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 618
  • Carpe Diem
Large File Path Names
« on: January 15, 2006, 04:05:44 am »

I am using large pathnames to structure my files. Especially the images.

I am having trouble to see the total names in the column in MC.

I was thinking:

is it possible to show only the end of the path (including the file name) instead of the beginning?
Now I need to edit the field to be able to see the total string.
Logged
Stupid questions do not exist, only stupid answers.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Large File Path Names
« Reply #1 on: January 15, 2006, 09:04:13 am »

you could try playing around with mid([filename],30,-1) but I don't think you'll like the results much. It would be neat if we could specify whether Mid(...) should count from the left or the right, but we can't.

Also, have you checked your column size options under "options>tree and view"?
autosize columns is obvious, but did you spot the "allow autosize to cut off long values" option in the advanced section of the tree and view panel?

Dutch Peter

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 618
  • Carpe Diem
Re: Large File Path Names
« Reply #2 on: January 15, 2006, 10:24:49 am »

I have set auto size to 'yes'. That helps. Thanks.

I am not really into the functions of MC, but there is not something like Right([filename],30)?? It would should the last 30 positions.

Is there a seperate field for path and file??
Logged
Stupid questions do not exist, only stupid answers.

Dutch Peter

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 618
  • Carpe Diem
Re: Large File Path Names
« Reply #3 on: January 15, 2006, 10:30:58 am »

by the way:  mid([filename],65,-1) works quit well.

What does the -1 do exactly??
Logged
Stupid questions do not exist, only stupid answers.

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: Large File Path Names
« Reply #4 on: January 15, 2006, 10:32:14 am »

Is there a seperate field for path and file??
Filename (name)
Filename (path)
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Large File Path Names
« Reply #5 on: January 15, 2006, 11:07:38 am »

by the way:  mid([filename],65,-1) works quit well.

What does the -1 do exactly??
the first figure is the starting point, (in your case, this is the 66th character as MC counts the first one as zero)
the second figure dictates how many characters to output from there.
If you chose 65,4 it would return the the 4 characters from 66 to 70.
-1 tells it to return everything from the start point onwards.
Pages: [1]   Go Up