Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the difference between the two data strings

C:\Windows\system32\userinit.exe,

and

C:\Windows\system32\userinit.exe

in the context of the windows registry at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

REG_SZ Userinit

what does the comma signify or the lack of it?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted
+100

The trailing comma is necessary. It ensures that any settings added by another piece of software or GPO are delimited as necessary. Most errors related to this occur because the installation routines are not configured to place the comma at the end of the string; the key is corrupted because it is not read properly unless it is delimited correctly.

source

So comma acts as a delimiter.If delimiter is not present key will not be read properly.

So comma will be always used to separate values in all files.

To understand better please see this tutorial.

share|improve this answer
    
swapyonubuntu: Ok, similar to the ; used in environment variables paths. –  Moab Nov 13 '12 at 20:23
    
yes correct its similar... –  swapyonubuntu Nov 14 '12 at 11:22
add comment

Well, I'm not sure in this specific instance, but a comma usually means a backup file in my experience.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.