Skip to content
⌘ NSIS Forum Archive

Run a text file by a exe file with ExecWait

3 posts

r2du-soft#

Run a text file by a exe file with ExecWait

hi
i have a exe file and must run that from another exe file with ExecWait.
ExecWait support this parameters?(run a file from another file)
i manually with mouse drag that exe file(1) on exe file(2) and work,now i must do with ExecWait,thanks
Anders#
Your title says text file but your text only mentions exe files so I don't understand what you want. ExecWait cannot start .txt files, only .exe, .cmd and .bat. There is a ExecShellWait/ShellExecute with wait on the wiki...
r2du-soft#
Thanks mr Anders
i need that for text file and exe file..
i found and work:

ExecDos::exec '"C:\Program Files\NSIS\makensis.exe" "C:\Test.nsi"'
ExecDos::exec '"C:\upx\upx.exe" "C:\Test.exe"'
my problem solve
thanks master