$CMDLINE may contain quotes fix by brainsucker
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2232 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4b5ee0523d
commit
57ea062613
2 changed files with 42 additions and 2 deletions
|
@ -97,11 +97,13 @@ enumex: ; End of drives or user cancel
|
|||
System::Free $1
|
||||
|
||||
; ----- Sample 6 ----- systemGetFileSysTime demo -----
|
||||
Call GetInstallerExeName
|
||||
pop $0
|
||||
|
||||
!insertmacro smGetFileSysTime $CMDLINE
|
||||
!insertmacro smGetFileSysTime $0
|
||||
System::Call '*$R0${stSYSTEMTIME}(.r1, .r2, .r3, .r4, .r5, .r6, .r7, .r8)'
|
||||
|
||||
MessageBox MB_OK "GetFileSysTime example: file '$CMDLINE', year $1, month $2, dow $3, day $4, hour $5, min $6, sec $7, ms $8"
|
||||
MessageBox MB_OK "GetFileSysTime example: file '$0', year $1, month $2, dow $3, day $4, hour $5, min $6, sec $7, ms $8"
|
||||
|
||||
; free memory from SYSTEMTIME
|
||||
System::Free $R0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue