INTERACT FORUM

Please login or register.

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

Author Topic: syntax for adding all the files in a folder to a smart list  (Read 948 times)

christefan

  • Recent member
  • *
  • Posts: 24
syntax for adding all the files in a folder to a smart list
« on: January 27, 2012, 11:05:01 am »

What is the exact syntax for adding a rule to a smartlist that would add all the files in a particular folder, just started using this folder and all my attempts at a correct syntax result in an empty smartlist-thanks for any help
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: syntax for adding all the files in a folder to a smart list
« Reply #1 on: January 27, 2012, 11:17:17 am »

Edit the Smartlist, and add a Rule:

  Filename (path) is <full path here>

You can also replace is with contains or other variant, depending upon your needs.
Logged
The opinions I express represent my own folly.

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: syntax for adding all the files in a folder to a smart list
« Reply #2 on: January 27, 2012, 11:19:14 am »

"Contains" is almost always better than "is" in this case.  Otherwise you'll have trouble with subdirectories.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

christefan

  • Recent member
  • *
  • Posts: 24
Re: syntax for adding all the files in a folder to a smart list
« Reply #3 on: January 29, 2012, 03:45:22 pm »

So i had time to try your suggestions and setup filename path- contains- m:\TCM-PC061611  and after hitting Ok or the apply tab nothing ends up in the smartlist.  I also tried quotes to start and end the path which i saw on another post.  i don't get what's wrong with the syntax
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: syntax for adding all the files in a folder to a smart list
« Reply #4 on: January 29, 2012, 03:56:10 pm »

The files would need to have been imported already into MC, as Filename (path), and other properties for that matter, are properties managed by MC on a per-file basis.

If the files are not already imported, you can use MC's Explorer to peruse the Windows folder tree.

No need for quotes.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up