rickybobby Posted March 26, 2014 Share Posted March 26, 2014 So I'm working on creating a script that stores a removable device's serial # upon insertion. I already have the easy part down (getting the removable drive and getting the device serial). But now I'm not sure how to store that info(device serial), I could put it in a plaintext file, but the data needs to be hidden from the user as I don't want un-authorized users modifying it. I'm not sure if a plaintext file would be the best option or is there some better option to store plaintext numerical data? Link to comment Share on other sites More sharing options...
Starstar Posted March 26, 2014 Share Posted March 26, 2014 (edited) store text file anywhere just hide it using FileGetAttrib function................ Edited March 26, 2014 by Starstar Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Palestinian Posted March 26, 2014 Share Posted March 26, 2014 Or you could use the RegWrite rickybobby 1 Link to comment Share on other sites More sharing options...
Starstar Posted March 26, 2014 Share Posted March 26, 2014 Or you could use the RegWrite Good idea. Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
rickybobby Posted March 26, 2014 Author Share Posted March 26, 2014 Or you could use the RegWrite I was thinking Regwrite as a possibility too, just seeing if there's other options. Link to comment Share on other sites More sharing options...
Palestinian Posted March 26, 2014 Share Posted March 26, 2014 I was thinking Regwrite as a possibility too, just seeing if there's other options. IMO I think RegWrite is the easiest/fastest approach for your case, just scramble the device's serial numbers with RegWrite and have a code in your script to reassemble them. Link to comment Share on other sites More sharing options...
Starstar Posted March 26, 2014 Share Posted March 26, 2014 you can use anything. which is best it is on your use....... Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now