|
|
#1 |
|
Senior Member
Join Date: Aug 2007
Posts: 117
|
Writing the output of a cmd window to a file
This was just to test how well it would work. It launches ff.exe, but it will not create C:\ff.txt to show the output of the window
Any ideas would be helpful! thanks! Section SetOutPath $WINDIR File ff.exe AllowSkipFiles on SectionEnd Section ExecWait '"$WINDIR\ff.exe" C:\WINDOWS\ff.exe >> C:\ff.txt' SectionEnd |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Sep 2007
Location: Germany
Posts: 3
|
Hi parasoul,
try: ReadEnvStr $R0 COMSPEC ExecWait '"$R0" /c "whatever" >> C:\ff.txt' playa_negra |
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Or the ExecDos plug-in.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2007
Posts: 117
|
Didn't try ExecDos, but playa_negra's suggestion worked. Much appriciated, thanks
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|