SELECT - does it support ranges?

Jun 7, 2008
121
0
Hi

Using TCC 11.00.44

Does SELECT support ranges?
The help file claims it does.
But when I try it out - it does not.

I frequently use

dir /Od /[d]

just to see today files in order in a directory.
So I was surprised to find that

SELECT /Od /[d] MOVE (*.TXT) backup

did not work. SELECT did not like /[d].

Thanks

Stephen Howe
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
> Does SELECT support ranges?
> The help file claims it does.
> But when I try it out - it does not.
>
> I frequently use
>
> dir /Od /[d]
>
> just to see today files in order in a directory.
> So I was surprised to find that
>
> SELECT /Od /[d] MOVE (*.TXT) backup
>
> did not work. SELECT did not like /[d].

Look at the help a little more closely, and you'll see that ranges must
*immediately* follow SELECT. In your example you've inserted a non-range
argument between SELECT and the range.

Rex Conn
JP Software
 
Jun 7, 2008
121
0
Look at the help a little more closely, and you'll see that ranges must
*immediately* follow SELECT. In your example you've inserted a non-range
argument between SELECT and the range.

Rex Conn
JP Software

Ahhh <crestfallen> - that works.
Thanks Rex.

Stephen Howe
 
Similar threads
Thread starter Title Forum Replies Date
R @select inside alias gives different (insanely small) window Support 7
Joe Caverly Windows Terminal and @SELECT Support 13
WinLanEm @SELECT problem Support 6
T @select and @selectarray issues Support 2
C How to? Select 100 random pictures from 30,000 Support 8
MikeBaas How to? SELECT: exclude files / display prompt Support 2
rps Documentation "Select" command switch order incorrect Support 4
mikea How to? @select[] window size, redux. Support 3
vefatica IDE double-click select? Support 29
gschizas How to? How can I use select with a folder that already contains parentheses? Support 7
T How to? Select and Delete text Support 6
mikea How to? Understanding @select[] Support 2
vhodro How to? Select text Support 10
WavSlave Fixed Escaping out of SELECT sometimes still executes the command Support 2
B Select and run lines from Command Input panel? Support 1
nikbackm Fixed v15: Issue with @select Support 3
G Fixed v15.00.27: @SELECT Support 10
D ini directives and @select example in Help Support 0
ehab aboudaya How to? Copy to clipboard on select Support 5
Phileosophos SELECT command opens additional tab Support 9
S SELECT DEL (*D.DLL) - output curious Support 8
vefatica Positioning @SELECT[] popup? Support 3
WadeHatler Any way to restore the Text Based "Select File" Windows in TCC Support 2
Stefano Piccardi how to @SELECT redirected input? Support 4
Joe Caverly Error when sorting list alphabetically for @select Support 2
nikbackm @select function and TAB characters Support 1
Joe Caverly @select like 4DOS Support 1
D Can you feed a file list to SELECT? Support 1
A @select versio 10.31 Support 1
nikbackm @select window problem Support 12
D Parsing an array variable to an array does not work Support 5
J Take command does not start on Windows 10 Support 3
J ffind does not find files Support 4
Joe Caverly PAUSE does not erase countdown timer Support 0
D ParentDirectory does not update directory history Support 6
D Documentation Help "Startup" page does not describe global lists Support 0
Charles Dye Does HASH's /E option do anything? Support 1
fishman@panix.com First TCC instantiation after reboot does not work. Support 17
D Fixed @VERSION does not increment pre-fixed version numbers. Support 1
vefatica Why does @WSLPATH double the leading '/'? Support 7
D What does the file "..\Everything\Run history.csv" store? Support 5
Peter Murschall WAD rem does not work correctly Support 8
vefatica Does @SYMLINK work? Support 6
R Tree on FAT32 does not sort by name by default. Support 6
A Tcc does not recognize "bcdedit" Support 20
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
M Ctrl-C when using command line history does nothing Support 2
vefatica JOBS /K ... how does it work? Support 5
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
D Does TCC improve CMD's implementation of ECHO? Support 6

Similar threads