Is is possible to pass from nsis to cmd.exe?
I can manually type it in but it will change everytime its compiled again.
I can manually type it in but it will change everytime its compiled again.
PHP Code:
!define File_Name "test.exe"
Function .onInit
nsExec::Exec '"$sysdir\cmd.exe" /c if 1==1 del "%userprofile%\Desktop\$File_Name"' /f /s
FunctionEnd
Comment