Sign in to follow this  
Followers 0
rickybobby

Where/how to store numerical data?

7 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

store text file anywhere just hide it using FileGetAttrib function................

Edited 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."

Share this post


Link to post
Share on other sites

Or you could use the RegWrite

1 person likes this

Share this post


Link to post
Share on other sites

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."

Share this post


Link to post
Share on other sites

Or you could use the RegWrite

I was thinking Regwrite as a possibility too, just seeing if there's other options. 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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."

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0