Start problem in b153

May 29, 2008
571
4
Groton, CT
Win XP Pro SP 3
TC and TCC 9.02 bld 153

START "name" /pgm "c:\some\directory\program.exe" -arguments for program

Fails with

TCC: (Sys) The system cannot find the file specified. "C:\SOME\DIRECTORY\PROGRAM.EXEe"

when the file exists. When the file does not exist the name of the file in the error message does not have the extra 'e' at the end. This worked correctly in build 149 (which was the last version I had used).

It makes no difference whether the start command is issued at the prompt or from a command file, nor whether the filename is in upper or lower case (but the 'e' at the end is the same case as the last character in the original command), nor whether the filename is absolute, relative, or constructed with environment variables or variable functions.

It also makes no difference whether there are arguments or not.

No alias for START, of course.
 
May 20, 2008
11,530
102
Syracuse, NY, USA
And you don't need to specify a title either:

v:\> start /pgm "s:\netstat.exe"
TCC: (Sys) The system cannot find the file specified.
"S:\NETSTAT.EXEe"

On Thu, 06 Nov 2008 22:39:43 -0600, "JP Software Forums"
<neil@jpsoft.com>,dcantor <> wrote:


>Win XP Pro SP 3
>TC and TCC 9.02 bld 153
>
>START "name" /pgm "c:\some\directory\program.exe" -arguments for program
>
>Fails with
>
>TCC: (Sys) The system cannot find the file specified. "C:\SOME\DIRECTORY\PROGRAM.EXEe"
>
>when the file exists. When the file does not exist the name of the file in the error message does not have the extra 'e' at the end. This worked correctly in build 149 (which was the last version I had used).
>
>It makes no difference whether the start command is issued at the prompt or from a command file, nor whether the filename is in upper or lower case (but the 'e' at the end is the same case as the last character in the original command), nor whether the filename is absolute, relative, or constructed with environment variables or variable functions.
>
>It also makes no difference whether there are arguments or not.
>
>No alias for START, of course.
>
>
>
>
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
vefatica wrote:

> And you don't need to specify a title either:
>
> v:\> start /pgm "s:\netstat.exe"
> TCC: (Sys) The system cannot find the file specified.
> "S:\NETSTAT.EXEe"

Fixed in 154. An old bug -- it never fails to amaze me that people can
find old bugs within minutes of a new build being released ... :-)

Rex Conn
JP Software
 
May 20, 2008
3,515
4
Elkridge, MD, USA
rconn wrote:
| vefatica wrote:
|| And you don't need to specify a title either:
||
|| v:\> start /pgm "s:\netstat.exe"
|| TCC: (Sys) The system cannot find the file specified.
|| "S:\NETSTAT.EXEe"
| Fixed in 154. An old bug -- it never fails to amaze me that people
| can find old bugs within minutes of a new build being released ...
| :-)

Not really surprising. For example, when a bug is the use of the value of an
uninitialized variable (a most common occurrence), it can be masked through
the fortuitous coincidence that the desired value is left over by another
operation. Recompiling the errant module, or even a change in the linking
order or in the size of another module removes the coincidence, exposing the
original error. I've seen it in many projects.
--
Steve
 
May 29, 2008
571
4
Groton, CT
Fixed in 154. An old bug -- it never fails to amaze me that people can
find old bugs within minutes of a new build being released ... :-)


I found it immediately after downloading and installing and then starting b153. My TCSTART.bat invokes such a START command after determining that the application is not already running. I had been using this technique for at least 3 years.

Anyway, thanks for the fix, Rex. The START /PGM is working correctly now.
 
Similar threads
Thread starter Title Forum Replies Date
Alpengreis Fixed TCMD FileExplorer Start-Directory problem Support 4
Dan Glynhampton Problem with Start /elevated Support 2
J Take command does not start on Windows 10 Support 3
N for start /b anamoly Support 1
U Can not get/start Take Command gui Support 1
DrusTheAxe START /? is incomplete Support 2
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
vefatica Start/stop screensaver from TCC? Support 12
S START with title Support 4
vefatica START at 0,0? Support 2
D START /POS versus @WINPOS and @WINSIZE Support 12
vefatica START /elevated and PcaSvc? Support 5
S incorrect message at start Cancel batch job 4START.bat ? (Y/N/A) : Support 1
vefatica START /PGM "name with spaces.URL" fails Support 2
L Peculiarities of how START launches processes Support 15
R How to? START program as top window? Support 2
Peter Murschall v24 IDE/BDEBUGGER won't start Support 9
Dmitry L. Kobyakov WAD Start /pgm "name.htm" works improperly Support 4
Joe Caverly START Dialog usage of %_ variables Support 0
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
vefatica START *command Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
A Fixed (CMD compat) START /D fails to recognize the switch option. Support 3
MikeBaas start /runas - I'd like /netonly Support 2
vefatica Start VIEW with the toolbar showing? Support 5
vefatica Documentation START /AFFINITY Support 0
B how to do in "start" command thing like in tcc.exe Support 1
J directory or folder to start in Support 2
R How to? Not have RT version show on start Support 3
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6
J How to? Start TCMD with different configurations Support 3
vefatica START /K ... Support 1
vefatica Documentation START /AFFINITY Support 5
vefatica Start TCMD with File Explorer showing? Support 2
Alpengreis WAD Each start/close of TCMD changes my Explorer setting Support 7
WadeHatler Just started getting a message about Cloud Storage every time I start TCC 19 Support 3
vefatica Shortcut/start-up folder nonsense Support 20
fishman@panix.com Can I start TCC in full screen mode? Support 9
R Unable to start any BTM file from Explorer Support 5
fpefpe How to? Stange start up issue Support 1
M Start "/Elevated" failure... Support 3
vefatica START, CMD vs. TCC Support 0
Steve Pitts Difference in exection with and without START Support 24
rjperrella start /tabna leaves blank windows when running batch scripts Support 10
vefatica Start-up directory for new tabs? Support 7
C OT: Registry OPEN verb to start elevated... Support 2
tmaynard Error on Take Command Start after recent update Support 2
M How to? Start a program on log on elevated abovenormal Support 5
M How to? Start the version of Take Command that I want... Support 7

Similar threads