1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is this a bug in for /o:d ... ?

Discussion in 'TCC/LE Support' started by holla, Aug 28, 2010.

  1. holla

    Joined:
    Nov 13, 2008
    Messages:
    17
    Likes Received:
    0
    Hi there,

    As you can see below, I want to supply a timewise sorted list of files to a script. As per the documentation "for /o:d" should do it.
    But I am not able get it to work so using for /o:d.

    It should have echoed file starting with 3038155 first as it was created at 13:09, earlier than 3038116, which is created later at 13:18. :-(

    I achieved my goal working around, using for /f %a in ('dir /od /b *_*') though.

    I am writing this here because -
    1. just in case i am doing something blatently wrong
    2. if it is bug and jpsoft might want to know about it.

    Thanks for reading...
    - Holla
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,855
    Likes Received:
    83
    Is this a bug in for /od ... ?

    The /O:xx sorting syntax in FOR (or any of the other file handling commands
    other than DIR, PDIR, and SELECT) is not supported in TCC/LE.

    Rex Conn
    JP Software
     

Share This Page