Skrip Posted June 8, 2006 Share Posted June 8, 2006 I can't get this to work! Do DriveGetSerial then have it read a file that already has the serial in it, if it's different then exit script. If same then continue running script. I can't get it to work! [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 8, 2006 Share Posted June 8, 2006 (edited) I can't get this to work! Do DriveGetSerial then have it read a file that already has the serial in it, if it's different then exit script. If same then continue running script. I can't get it to work! HI, please show us, what you got so far. $serial = FileRead(@ScriptDir & "\DriveSerial.txt") ConsoleWrite(DriveGetSerial("c:\") & " " & $serial) If DriveGetSerial("c:\") <> $serial Then MsgBox(64, "Error", "Different!") Exit (0) ElseIf DriveGetSerial("c:\") = $serial Then MsgBox(64, "Info", "Cool!") EndIf So long, Mega Edited June 8, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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