Jump to content
Sign in to follow this  
Guest Mathias

Multiline comments on .CFG files

Recommended Posts

Guest saturno_v

Hello GuysThere is a way to include multiline comments in .CFG files???I tried with the set /* and */ and it doesn't work.It would be very useful to have the possibility to comment large section of a configuration fileThanks in advance!!Regards

Share this post


Link to post
Share on other sites

You could copy the section to be commented out into a word processor. Use the replace function to replace each paragraph marker with a sequence of a paragraph marker followed by two slashes. This will have the effect of placing two slashes at the beginning of each line (except the first). Now copy the text back to your .cfg file.A little awkward perhaps, but depending on the length of the text being commented out, it might be a little quicker than manually commenting each line.Doug

Share this post


Link to post
Share on other sites
Guest Mathias

//is necessary for turning a cfg-entry into a comment

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...