Oxidativedesulfurization-fluorination of methyl N-pyridyl(or N-pyrimidyl)-N-alkyldithiocarbamates gave the corresponding trifluoromethylamino-substituted pyridines (or pyrimidines), which underwent cross-coupling reaction to give a new type of liquid crystalline compounds having trifluoromethylamino group.