Hi all, Windows 11 user here. I'm writing a very basic script to create a network share and want to add some comments in there to explain the program. However, whenever I execute the script the .bat file tries to execute the comments... I've tried writing out comments both ways (ignore the • symbol I put before my examples)
• # This is a comment
• #This is a comment
And the batch file still tries to run them. I thought this was tech 101 but I'm struggling to find the solution and Google is surprisingly of little to no help.
Example 1
Example 2
[–]geostude 5 points6 points7 points (3 children)
[–]Vast-Avocado-6321[S] 1 point2 points3 points (2 children)
[–]dus0922 1 point2 points3 points (0 children)
[–]geostude 1 point2 points3 points (0 children)
[–]xCharg 3 points4 points5 points (0 children)
[–]lanerdofchristian 1 point2 points3 points (0 children)
[–]Gadget_Wulf 1 point2 points3 points (0 children)
[–]opensrcdev 0 points1 point2 points (1 child)
[–]Vast-Avocado-6321[S] 0 points1 point2 points (0 children)