Author Topic: No syntax colouring on a .cmd file  (Read 1253 times)

jcelle

  • Community Member
  • Posts: 58
  • Hero Points: 3
No syntax colouring on a .cmd file
« on: June 29, 2017, 01:54:04 pm »
Hello,
Despite .cmd files look registered within SE (Batch > General > File Extensions = bat cmd) I do not see any colouring in any .cmd file I open.
Is there something that needs to be done or checked ?
This is the kind of file that should work out of the box.
I tried to open an httpd.conf file, it was coloured right away.

I confess I am stuck here.
Thanks for any advice.
Jerome

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2359
  • Hero Points: 131
Re: No syntax colouring on a .cmd file
« Reply #1 on: June 29, 2017, 02:02:55 pm »
What happens if you go to Document>Select Mode?  What mode does it thing the file is?

The only thing I know for sure that would affect this is that if the file starts with a /*, it will be treated as a Rexx file.

jcelle

  • Community Member
  • Posts: 58
  • Hero Points: 3
Re: No syntax colouring on a .cmd file
« Reply #2 on: June 29, 2017, 02:15:32 pm »
I knew it would be easy: there had to be such an option... but I could not find it right away and got lazy...
This worked perfectly and proposed to map the .cmd extension. Maybe it will remain.
Thanks so much Dan.