andytan91 Posted July 17, 2010 Share Posted July 17, 2010 Hi guys im not sure if this is the right section to post, but what i am doing right now is using windows cmd to output results of computer configurations to a text file for auditing purpose. I will like my raw data to check against the desired setting and output a fail notice if they are different/pass notice if they are exactly the same. However, i do not have any ideas how to do that hence i need some guidance on this. Thanks! Example Minimum password age (days): 0 Maximum password age (days): 42 Minimum password length: 0 Length of password history maintained: None Desired Setting Minimum password age (days): 90 Maximum password age (days): 90 Minimum password length: 8 Length of password history maintained: None Quote Link to comment https://forums.phpfreaks.com/topic/208014-checking-the-contents-of-text-file/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.