{NeoBook Function}
Version=5,60
Language=NeoBook
Comment=Por josevdr95   (neo_iniciar_con_windows)|--------------------------------------------|Iniciar con windows|--------------------------------------------
Param=[%NP]|FileName|Nombre del programa
{End}
StrParse "[CommandLine]" "[#13]" "[Parametro]" ""
setvar "[DirNombreExe]" "[Parametro1]"
DeleteArray "[Parametro]" "All"
StrParse "[DirNombreExe]" "\" "[NombreExePartes]" "[NombreExePartes.C]"
setvar "[NombreExe]" "[NombreExePartes[NombreExePartes.C]]"
DeleteArray "[NombreExePartes]" "All"
clearvariables "[NombreExePartes.C]"
.......................................
If "[IniciarconWindows]" "=" "checked"
RegistryWrite "HKEY_CURRENT_USER" "Software\Microsoft\Windows\CurrentVersion\Run\[%NP]" "[PubDir][NombreExe]"
Else
RegistryWrite "HKEY_CURRENT_USER" "Software\Microsoft\Windows\CurrentVersion\Run\[%NP]" ""
EndIf
