Hi all!
Im trying to execute a program that are specified in a ini file like this but shellexecute ignore the @windowsdir or any @variable i put in, what im i doing wrong?
; Ini file
[Utforskaren]
exe= explorer.exe
arg= , C:
wrk= @WindowsDir
ico= @WindowsDir & "\explorer.exe"
dsc= Utforskaren
the execute is from an array like this
[3]|explorer.exe|, C:|@WindowsDir|@WindowsDir & "\explorer.exe"|Utforskaren
ShellExecute($aIcon[$iIconIndex][0], $aIcon[$iIconIndex][1], $aIcon[$iIconIndex][2])
ConsoleWrite("! Consolewrite ->Shellexecute: " & $aIcon[$iIconIndex][0] &" | "& $aIcon[$iIconIndex][1] &" | "& $aIcon[$iIconIndex][2] & @CRLF)
and result is this
! Consolewrite ->Shellexecute: explorer.exe | , C: | @WindowsDir