#1 30 Jul 2006 23:28

evh1001
Member
Registered: 30 Jul 2006
Posts: 1

Assoc quirk

I was trying to set up some file associations in a batch file today, and I discovered an odd quirk of the ASSOC command.  It doesn't like spaces at the end of the line. In other words:
     assoc .rb=rbFile[space][CR/LF]
is NOT the same thing as
     assoc .rb=rbFile[CR/LF]

It assumes that the spaces are part of the file type name.

Hopefully this will save somebody some grief.

Ed.

Offline

Board footer

Powered by FluxBB