c:\program?

May 20, 2008
11,415
99
Syracuse, NY, USA
Removed old versions from (virtual) Vista ... installed the latest TCMD to a new directory and with a desktop shortcut ... double-clicked the desktop shortcut ... the TCMD window showed, but then ... The system cannot find the file specified. "c:\program" ... and the TCMD window closed.

The shortcut has these **quoted** strings:

Target: "C:\Program Files\JPSoft\TCMD12\tcmd.exe"

Start in: "C:\Program Files\JPSoft\TCMD12\"

What's up?
 
May 20, 2008
11,415
99
Syracuse, NY, USA
On Tue, 31 May 2011 23:44:21 -0400, vefatica <> wrote:

|Removed old versions from (virtual) Vista ... installed the latest TCMD to a new directory and with a desktop shortcut ... double-clicked the desktop shortcut ... the TCMD window showed, but then ... The system cannot find the file specified. "c:\program" ... and the TCMD window closed.
|
|The shortcut has these **quoted** strings:
|
|Target: "C:\Program Files\JPSoft\TCMD12\tcmd.exe"
|
|Start in: "C:\Program Files\JPSoft\TCMD12\"
|
|What's up?

OK, I tidied things up. I had a few other problems ... all the result of the
(apparent) default location of TCMD.INI ... in my profile's "Local
Settings\JPSoft". That doesn't seem like a good place for the default,
especially if several versions might use that file (and uninstalling versions
doesn't remove that file).

Isn't there a better default way? ... how about "Local Settings\JPSoft\TCMDxx\"?
Wouldn't that facilitate multiple versions while respecting Microsoft's
recommendations?
 
May 24, 2010
855
0
Northlake, Il
On Tue, 31 May 2011 23:44:21 -0400, vefatica <> Isn't there a better default way? ... how about "Local Settings\JPSoft\TCMDxx\"?
Wouldn't that facilitate multiple versions while respecting Microsoft's
recommendations?
Just a suggestion, but I solve this problem by making hard-links in the current version of Take Command/TCC directory to files in the directory where I keep files that are (largely) independent of the current Take Command/TCC version. I can also, of course, if I want/need to rename the versions of these files that were for previous versions of Take Command/TCC that are different from what they would be in the current version and I do not yet, for whatever reason, want to delete (for example, I have installed a "new version: of Take Command/TCC but don't yet want to totally "discard" the old one), and the hard links are independent of the current name of any given file.
 

rconn

Administrator
Staff member
May 14, 2008
12,364
150
Isn't there a better default way? ... how about "Local Settings\JPSoft\TCMDxx\"?
Wouldn't that facilitate multiple versions while respecting Microsoft's
recommendations?

Two problems with that:

1) Less than 1% of TCMD users have multiple versions running.

2) It makes it more difficult to upgrade to a new version, as none of your existing .INI settings will be inherited.
 
Similar threads
Thread starter Title Forum Replies Date
C Add link to ewriter help to program group... Support 3
H Behavior change re piping a string to a Java program Support 1
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
W Starting program for word to pdf conversion (difference cmd and tcc) Support 13
MickeyF Why doesn't my python program get executed without specifying its path? Support 2
R How to? START program as top window? Support 2
M "less" program that works in TC 18 Support 12
MickeyF running program from script and (not) returning to script Support 12
C INSTALLED returnes same program multiple times Support 14
C Recommend a Print program Support 1
MickeyF running a program from cmdline versus in batch file Support 1
C tcmd.ini not loading from program dir? Support 5
Joe Caverly Determine if program started from command prompt Support 2
C WAD TCC: (Sys) C:\Program Files\JPSoft\TCMD17\tcc.exe is not a valid Win32 application. Support 6
C Win7 Program Data.... Support 2
M How to? Start a program on log on elevated abovenormal Support 5
MickeyF how to determine which program will execute a file Support 10
D New 64-bit install goes to Program Files x86 Support 3
M How is this program found? Support 9
A How to? Run a TCC command from external program Support 2
C "Program Files" .vs. "Program Files (x86)" Support 2
BobK "do you want to allow the following program to make changes to this computer" Support 3
M How to? Get the return code from an external program... Support 8
C start /wait /pgm "program name" ^ ketstack n/w Support 3
L File association: System cannot find the associated program Support 30
D Start program without waiting and redirect output Support 6
nikbackm Alias - launch external program - batch file Support 16
Joe Caverly Program gives error if %_row > 25 Support 0
dcantor Program abort with tab bar Support 2
fpefpe escapes getting into program Support 10
M Invoking a DOS command within a C++ program Support 1
J 4NT Error when running 'system' from a program to execute a .BTM Support 3
C start/tab of a GUI program hangs TCMD Support 6

Similar threads