system
1
(imported topic written by jpeppers91)
Is there anyway to make this a little cleaner?
Q: (lines (2;4;19;21;36;38) of file “c:\temp\firewall.txt”)
A:
Domain Profile Settings:
State OFF
Private Profile Settings:
State OFF
Public Profile Settings:
State OFF
system
2
(imported comment written by jessewk)
Looks pretty clean to me. What would you like to see instead?
Noah
3
(imported comment written by NoahSalzman)
Q: (if (line 4 of file “c:\temp\firewall.txt”) contains “OFF” then “Domain Profile Settings: OFF” else “Domain Profile Settings: ON”); (if (line 21 of file “c:\temp\firewall.txt”) contains “OFF” then “Private Profile Settings: OFF” else “Private Profile Settings: ON”)
A: Domain Profile Settings: OFF
A: Private Profile Settings: OFF
system
4
(imported comment written by jpeppers91)
To remove the extra space. That is the format when read from the text file.
system
5
(imported comment written by jpeppers91)
Oh, I didn’t even see the last post. Thanks