T
tcebob
This short batch file is supposed to take output from a telephone answering program,
append them to a text file and display the file in notepad until dismissed.
rem ; CallStation is configured to output Name, Number, Date & Time.
rem ; Script to intercept CallStation output, append to callnotif.txt and
rem ; open callnotif.txt.
@echo off
echo %1 %2 %3 %4 >> c:\program files\callstation\callnotif.txt
C:\WINDOWS\system32\notepad.exe c:\program files\callstation\callnotif.txt
Exercising it at the command line "callstation A B C D" fails. The script fails except the
file callnotif is opened in Notepad.
rs
append them to a text file and display the file in notepad until dismissed.
rem ; CallStation is configured to output Name, Number, Date & Time.
rem ; Script to intercept CallStation output, append to callnotif.txt and
rem ; open callnotif.txt.
@echo off
echo %1 %2 %3 %4 >> c:\program files\callstation\callnotif.txt
C:\WINDOWS\system32\notepad.exe c:\program files\callstation\callnotif.txt
Exercising it at the command line "callstation A B C D" fails. The script fails except the
file callnotif is opened in Notepad.
rs