I would like to change the default file association of .xlsx with a script. I tried to change registry entries or with the command.
ftype <Name>="<Path>"
assoc .xlsx="<Name>"
But it doesn't seem to work. I would like to open the file with a .cmd script and start excel later on from there.