make file executable windows command line code example

Example: Make file executable in windows

To add the compiler path to your system
Find the location of the .NET Framework compiler, csc.exe. Note the location of this file.

Click Start, right-click My Computer, and then click Properties.

On the Advanced tab of System Properties, click Environment Variables.

In the System Properties list box of the Environment Variables dialog box, click Path, and then click Edit.

In the Edit System Variable dialog box, go to the end of the text in the Variable value text box, and type a semi-colon (;) followed by the location of the .NET Framework compiler. Click OK to close the dialog boxes.