SysAdminUnix
MIS
I'm creating an "old style" batch script. The results of this script are stored in a logfile. Now I want to include the contents of another logfile into this first logfile. The name of this file is each day different. The second logfile resides in a directory, and is the only file that is present. How can I achieve this?
I tried the following construction:
c:\> dir directory /b > filename.txt (which now contains the filename I want to display)
c:\> type < filename.txt
All I get is an error: "The syntax of the command is incorrect
I tried the following construction:
c:\> dir directory /b > filename.txt (which now contains the filename I want to display)
c:\> type < filename.txt
All I get is an error: "The syntax of the command is incorrect