redirect with TCMD 8.02

  • Thread starter CSGalloway@nc.rr.com
  • Start date
C

CSGalloway@nc.rr.com

Guest
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....
 
May 20, 2008
11,388
99
Syracuse, NY, USA
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
 
C

CSGalloway@nc.rr.com

Guest
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



> 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
>
>
>
>
>
 
May 20, 2008
11,388
99
Syracuse, NY, USA
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
 
May 20, 2008
603
0
Sammamish, WA
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:


> 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
>
>
>
>
 
Similar threads
Thread starter Title Forum Replies Date
B How to? redirect a bunch of loop Support 4
JohnQSmith WAD DO and escaped redirect characters Support 6
J Can you redirect output to printer device with echo? Support 1
nickles Redirect bug? Support 4
E Redirect output from "start"-ed console Support 5
D Start program without waiting and redirect output Support 6
D TCMD /X option Support 1
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
rps TCMD Tabs priority option setting Support 0
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16
P Symantec Endpoint Protection trapped TCMD.EXE and said it contained WS.Reputation.1 (Virus?) Support 3
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3

Similar threads