Starting Office 365 apps?

May 20, 2008
11,424
99
Syracuse, NY, USA
Although I have ExecWait=No, TCC waits when I execute
Code:
"C:\Program Files\WindowsApps\Microsoft.Office.Desktop.Word_16040.10827.20138.0_x86__8wekyb3d8bbwe\Office16\winword.exe"

CMD does not wait.

@EXETYPE gives 0 (unknown) for that file. DUMPBIN says it's subsystem GUI, and though there are some security restrictions in that directory tree, I can, with a plugin, open that file's properties dialog (so I wonder why @EXETYPE fails).

And (unrelated) if I just issue "winword", I get this.
Code:
v:\> winword
TCC: (Sys) The file cannot be accessed by the system.
 "C:\Users\vefatica\AppData\Local\Microsoft\WindowsApps\winword.EXE"

"START winword" works OK.
 
May 20, 2008
11,424
99
Syracuse, NY, USA
Of "C:\Program Files\WindowsApps\Microsoft.Office.Desktop.Word_16040.10827.20138.0_x86__8wekyb3d8bbwe\Office16\winword.exe", file says
Code:
WINWORD.EXE: PE32 executable (GUI) Intel 80386, for MS Windows
Once it was copied elsewhere, @EXETYPE said the same thing (6). But, as I said before, when it's in place, @EXETYPE fails and TCC waits after executing it.
 
Aug 23, 2010
637
9
Can you check if an application it starting exports main or winmain ?
If it exports both, that probably explains your behavior.
An application exporting main expects to be started in console.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Starting Office apps Support 8
C How to? starting TCC/TCMD v25 Support 2
samintz Starting Terminal from TakeCommand Support 3
vefatica Starting *.xlsm? Support 34
Steve Pitts _TCTAB when first starting Take Command Support 2
W Starting program for word to pdf conversion (difference cmd and tcc) Support 13
D WAD STARTing WUP apps Support 1
D Occasional TCMD 17 crash when starting additional TCC Support 4
D Folders pane display problem when starting Support 4
samintz Fixed DO /L with stringset starting with /n /e Support 2
C Fixed Starting editor from VIEW Support 9
M Starting Windows GUI programs from the command line... Support 10
ehab aboudaya WAD starting tcmd.exe with dir that has Boost C++ Libraries zip file delays Support 2
vefatica Starting shell objects Support 6
C starting TC/LE on the command line Support 1
C starting a shortcut from desktop Support 14
J starting in chosen directory Support 4
C starting tcmd with alternate INI file Support 15
F unexpected %1 while starting ide Support 6
T Starting a process blocks TCC window... Support 2
T Problem Starting Vim & gVIM Support 5
millardjk IDE dies without starting Support 4
S Starting TCC with double click on tab bar Support 0
vefatica Office problems better Support 0
vefatica TCC waits for Office apps Support 4
L Full Screen in Office 2013 theme chars missing Support 8
vefatica Office 2003 theme? Support 6

Similar threads