Hello plz help me

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
thec0o0lest
Posts: 1
Joined: 17 Dec 2009 12:00

Hello plz help me

#1 Post by thec0o0lest » 17 Dec 2009 12:05

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

avery_larry
Expert
Posts: 391
Joined: 19 Mar 2009 08:47
Location: Iowa

#2 Post by avery_larry » 18 Dec 2009 15:39

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

Post Reply