Jump to content

Where/how to store numerical data?


Recommended Posts

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

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

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...