Is there a command line tool for Unix and Windows that uses the same algorithm to create GUIDs for both platforms?
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
- I want to trace logs using a Macro multi parameter
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- Making new files automatically executable?
- Reverse four length of letters with sed in unix
- Compile and build with single command line Java (L
'e2fsprogs' project maintain uuidgen utility.
http://e2fsprogs.sourceforge.net/
It is already available on any Linux/BSD* distros.
For Windows I recommend install Cygwin, 'e2fsprogs' package available from there!
As report j4y this utility is available under MAC OS.
Just run:
There are tons of online apps to do it.
If you are using PHP, you can use the uniqid function.
I found a pure Java program to do it at http://jug.safehaus.org/. That should work anywhere you can install Java.
In Windows XP, you can use the following in the command window.
Something useful to know:
The byte order of Guid.ToByteArray() in C# and the SQL Server GUID type is:
An Oracle GUID created using SYS_GUID() and stored as RAW[16] is ordered:
You may find this online GUID converter handy. I'm not sure if the source is available for your own use, but it shouldn't be too hard to figure it out.
I don't know if there is a command line tool available, but you could simply write one in C# (it should run with Mono):
You can easily modify the program to change formatting of the GUID, copy it to the clipboard or whatever fits your need.