ASSOC / FTYPE strange error message

May 20, 2008
603
0
Sammamish, WA
I was testing some things using ASSOC and FTYPE and got this strange error
when removing my tests. The first time went just as expected, then I
repeated it to double check it had been removed. I did not expect to see the
error "The operation completed successfully."

D:\>ftype zzztest
D:\>ftype zzztestTCC: (Sys) The operation completed successfully.
"zzztest\SHELL\OPEN\COMMAND"

D:\>assoc .zzz
D:\>assoc .zzzTCC: (Sys) The operation completed successfully.
".zzz"


--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 

rconn

Administrator
Staff member
May 14, 2008
12,369
150
> I was testing some things using ASSOC and FTYPE and got this strange
> error
> when removing my tests. The first time went just as expected, then I
> repeated it to double check it had been removed. I did not expect to
> see the
> error "The operation completed successfully."
>
> D:\>ftype zzztest
> D:\>ftype zzztest
> TCC: (Sys) The operation completed successfully.
> "zzztest\SHELL\OPEN\COMMAND"
>
> D:\>assoc .zzz
> D:\>assoc .zzz
> TCC: (Sys) The operation completed successfully.
> ".zzz"

Not reproducible here -- do you have a sequence of steps that generates the
error message?

Those errors are coming from Windows, not TCC -- the Windows API is
returning a failure, but a subsequent GetLastError API returns 0. (This is
unfortunately not too uncommon.)

Rex Conn
JP Software
 
May 20, 2008
603
0
Sammamish, WA
> > D:\>assoc .zzz
> > D:\>assoc .zzz
> > TCC: (Sys) The operation completed successfully.
> > ".zzz"
> ---End Quote---
> Not reproducible here -- do you have a sequence of steps that generates the
> error message?
>
> Those errors are coming from Windows, not TCC -- the Windows API is
> returning a failure, but a subsequent GetLastError API returns 0. (This is
> unfortunately not too uncommon.)
>

I've been bitten by the error / GetLastError problem myself. Somehow the
cut/paste of my test did not come through. Perhaps because a trailing equals
sign was at the end of the line?

I was removing my associations for .zzz and used the syntax, much like SET,
to remove it.

D:\>assoc .zzzTCC: (Sys) The operation completed successfully.
".zzz"

In case something drops the trailing equals again, my command was assoc
space dot zzz equals enter.

--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 
Similar threads
Thread starter Title Forum Replies Date
M Questions about @Assoc and @FType... Support 18
J assoc curiosity Support 1
L FTYPE in TCC, less quirky than in cmd.exe Support 3
L FTYPE crashes TCC v23.00.30-34 Support 17
fpefpe Documentation ftype content Support 2
samintz ftype wierdness Support 8
R strange bug? Support 7
Jesse Heines Strange Line Wrapping Behavior Support 14
F strange results Support 9
M Strange error messages from TCC in FTP copy Support 7
M Another possibly strange remote registry issue Support 5
forbin Strange handling of [nonbright] magenta background (v22) Support 2
N Fixed Strange dir behavior Support 6
vefatica REGDIR, strange error message Support 7
T WAD Strange Unexpected "features" in the Debugger Support 2
P Strange mouse behavior with list Support 2
vefatica Strange tcc.exception.log Support 7
vefatica A strange one Support 0
D Strange DO behavior with /O Support 5
Glenn Bowes Strange text at startup Support 5
Steve Pitts WAD Strange output from DEL of a non-existent directory Support 7
vefatica Big numbers, strange errors Support 1
aedthuio Strange... lpksetup Support 4
CWBillow dir /4 strange Support 2
D Strange issue with FOR loop Support 15
MikeBaas Strange prob with %@replace.. Support 4
vefatica OT: strange files in %TEMP Support 10
Dan Glynhampton Documentation v15 help: Strange links in @INT topic Support 0
R WAD Strange output from "memory" command Support 1
M Yet another strange something re something called "@TCONVERT" Support 8
Roedy How to? Strange colours Support 9
M WAD Strange "Start" misbehavior... Support 10
vefatica Very strange console font corruption Support 3
Steve Pitts Strange problem with FREE Support 10
A strange error in alias Support 9
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
Exolon Strange Prompt. Support 6
vefatica Strange folders Support 1
T Strange CPU value Support 3
J Strange error: unset /s Support 14
M Strange behavior... Support 2
CWBillow Strange happenings Support 2
B Strange handling of a .BAT file Support 5
vefatica Strange behavior reloading SHRALIAS sav files. Support 1
D Strange crashes in @CRC32 and @MD5 Support 9
Charles Dye Strange output, here-doc redirection, TYPE, //UnicodeOutput=Yes Support 6
S Strange CHKDSK behavior Support 6
vefatica Strange results with CP 1252 Support 12
S Strange REN problem - non-English characters Support 3
dcantor Strange status in ACTIVATE command Support 0

Similar threads