Page 1 of 1

Hello plz help me

Posted: 17 Dec 2009 12:05
by thec0o0lest
Hello I am beginner in using batch files there is one executable file named:
a.exe and i want to call this file threw batch and create log this file in the same time i have tried this command:
@echo off
call C:\a.exe >> log.txt

and it is not even executing Thanks For any help

Posted: 18 Dec 2009 15:39
by avery_larry
call is for internal command (like echo, set, etc) OR for batch files (call mybatch.bat or call myscript.cmd). So just get rid of the call:

@echo off
c:\a>>log.txt