How can I generate a UUID from the command line in Windows XP? Something like "uuid" or "uuidgen" in Linux.
|
feedback
|
|
Drop the following code into a new file name uuid.vbs
Then you can run it from the command line like so:
This will work on pretty much any computer that has the Windows Scripting Host installed - which certainly includes anything later than Windows 2000, and probably includes 95/98/ME as well... though I don't have an instance handy to check. If you need to remove the braces, replace the last line with this
| |||||
feedback
|
|
If powershell is installed this is a simple commandline to get a guid
| |||
|
feedback
|
|
From MSDN Library: Generating Interface UUIDs. | |||||||||||||
feedback
|