Jump to content

Recommended Posts

Posted

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?

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

Posted

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

Posted

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.

Posted

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

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
  • Recently Browsing   0 members

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