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

redirect with TCMD 8.02

Discussion in 'Support' started by CSGalloway@nc.rr.com, Mar 4, 2009.

  1. set iName="%@execstr[ dir /a:-d /b /f /k /m /ne /o:-s %cName 2>NUL: ]"

    I'm trying to not have any "Files Not found" erros show. What am i doing wrong? I looked at the help but couldn't find it....
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,952
    Likes Received:
    30
    On Wed, 04 Mar 2009 13:40:01 -0600, "CSGalloway@nc.rr.com"
    <> wrote:

    |set iName="%@execstr[ dir /a:-d /b /f /k /m /ne /o:-s %cName 2>NUL: ]"
    |
    |I'm trying to not have any "Files Not found" erros show. What am i doing wrong? I looked at the help but couldn't find it....

    I don't get error messages when I try that. And I don't think NUL needs a ":".
    --
    - Vince
     
  3. I do if cName contains a filemask that does not match any files in the
    current folder....


    ----- Original Message -----
    From: "vefatica" <>
    To: <CSGalloway@nc.rr.com>
    Sent: Wednesday, March 04, 2009 3:19 PM
    Subject: RE: [Support-t-1018] redirect with TCMD 8.02



     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,952
    Likes Received:
    30
    On Wed, 04 Mar 2009 18:00:13 -0600, "CSGalloway@nc.rr.com"
    <> wrote:

    |I do if cName contains a filemask that does not match any files in the
    |current folder....

    That's how I tested:

    v:\> set cName=*.foofoo

    v:\> set iName="%@execstr[ dir /a:-d /b /f /k /m /ne /o:-s %cName 2>NUL ]"

    v:\> set iName
    ""
    --
    - Vince
     
  5. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    I tested it with a mask that matched zero and got the same results as
    vince.

    Sent from Cookie's iPhone
    Jim Cook

    On Mar 4, 2009, at 17:47, vefatica <> wrote:


     

Share This Page