Tuesday, December 30, 2014

Creating GUID from CommandLine

We know that we can create a GUID easily from C# code by just executing Guid.NewGuid() code. This is one of the easiest way. But quite a few times we want GUID for some data manipulation in excel sheet or in Access database. Also many a times we want GUID to be generated in batch programs in that case uuidgen.exe can be a great help.

You can find the uuidgen.exe in the below folder.

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\uuidgen.exe


 

No comments: