No of visitors who read this post: 199
Category: Storage
Type: Question
Author: Sherry khall
No votes yet

What are the risks in my current applications when I hide the REM lines from showing in a batch file?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#

Hi Sherry,

I think there iss no harm at all when doing so. REM command is only use to remark and prevent it from executing the next time your batch file executes. You must have the @ECHO OFF to prevent it from showing to the screen also. You can use the :: to remark a line regardless if ECHO is on or off. You can also change REM to @REM if you wish to have the commands shown but still you want to hide the REM lines. Still there is no known harm on doing this to your application. 

I hope it helps.