ASSOCIATE loses /P option

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM

TCC  26.00.24 x64   Windows 10 [Version 10.0.17763.973]

C:\>associate .foo=foonly.exe /p "%%1"

C:\>associate .foo
.foo=foonly.exe  "%1"

C:\>regdir /d /v hkcr\foofile
         : REG_SZ : foonly.exe  "%1"


FTYPE /P works as expected.
May 20, 2008
Syracuse, NY, USA
It loses "/v" too, and can give a delete error when "/d" is part of the associated command line.

v:\> associate .foo=dummy.exe /d /f /p /r /u /v "%%1"

v:\> associate .foo
.foo=dummy.exe /d /f  /r /u  "%1"

v:\> associate .foo=dummy.exe /d /f /p /r /u /v "%%1"
TCC: Can't delete ".foo"
May 20, 2008
Syracuse, NY, USA
This still happens. The help says ASSOCIATE "allows you to ... modify ...". WAD?

v:\> associate .foo=dummy1.exe "%%1"

v:\> associate .foo=dummy2.exe "%%1"
TCC: Can't delete ".foo"
Similar threads
Thread starter Title Forum Replies Date
H V15 Help: Error in ASSOCIATE topic Support 0
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
jaltman tcmd 21.0.19 win10 16179 console window loses content Support 2
Charles Dye OSD loses ampersands in text Support 2
H variable programfiles(x86) loses space Support 1
D Bug TCMD /X option Support 6
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
D Purpose of DIRHISTORY /N option Support 2
Peter Murschall OPTION //directive=value is a ENDLOCAL Support 3
Charles Dye Does HASH's /E option do anything? Support 1
A Documentation [Help file] OPTION "//" synopsis formatting issue Support 0
thorntonpg option /u not working The directory name is invalid Support 5
rps TCMD Tabs priority option setting Support 0
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed (CMD compat) START /D fails to recognize the switch option. Support 3
R Fixed 7ZIP Compression Method Option Doesn't Work Support 1
D everything /o does not open the option dialog Support 4 How do I make the selections in the option menu sticky? Support 23
vefatica OPTION /U Support 2
cgunhouse Foldermonitor with "/E" Option Issue Support 6
cgunhouse Foldermonitor with /W option Support 10
Alpengreis TCC-Option for EnableDelayedExpansion (!var!) problem Support 15
D The BatchEcho option Support 8
D /extract: option for the installer Support 4 Why are the OPTION settings not sticky??? Support 11
vefatica OPTION /U Support 1
vefatica TPIPE's /perl option? Support 1
I TC "Registering" but NOT Registering, Now Hung on TCMD Option Screen Support 2
cgunhouse IFTP "/S" Option Support 6
Alpengreis [TC 17.x] Install with "option /u" failed Support 5
cgunhouse Jabber Command Line Option Being Transmitted -- Fixed with Build 42 Support 2
Charles Dye OPTION dialog appears underneath Take Command window Support 4
Charles Dye OPTION /U, private beta to public Support 4
Alpengreis WAD Command "MSGBOX /?" does not show option /N Support 2
Phileosophos Fixed Option Dialog Hangs when Using Help Support 7
M Web Help option in Take Command 15 broken? Support 3
fpefpe How to? start command /tab option/switch Support 6
S How to? Find installer downloaded by "option /u"? Support 11
W /g option (%) on MOVE cmd appears broken TCC 14.03.57 x64 Support 8
Charles Dye Odd behavior after using OPTION "Advanced" tab Support 2
noahcoad Option to always CALL? Support 4 Option: Updates broken in Build 36 Support 3
S option /u question Support 19
R CompleteAllFiles missing in option? Support 1
vefatica I'd *always* like the "Preview" option Support 5
S Directory history entries from /S option of various commands Support 2
Stefano Piccardi INIQuery option Support 1
M Missing PDir option... Support 5
vefatica OPTION /U Support 6

Similar threads