Okay, i'm making a bat file and I need to open two .txt files at once inside windows XP, is there an arguement that I can pass such as Bash's '&' character? Thanks for any help. Also, below is my batchfile, any suggestions for additions would be appriciated. Specifically, i'm trying to open pid.txt and netstat.txt at the same time so the user can compair the files and find out which program is involved with which PID.
@echo off
title Net Diagnostic
cls
echo Running.....
echo }---------------------------------------IPConfig----------------------------------------------{ > "%windir%\netstat.txt"
echo ....ipconfig
ipconfig >> "%windir%\netstat.txt"
echo. >> "%windir%\netstat.txt"
echo }----------------------------------------Netstat-----------------------------------------------{ >> "%windir%\netstat.txt"
echo ....netstat -ano
netstat -ano >> "%windir%\netstat.txt"
echo. >> "%windir%\netstat.txt"
echo ------DONE!------
echo This window will close when
echo you close the txt file. Please
echo do not manually close this
echo window as it has several
echo other functions to perform.
echo. >> "%windir%\netstat.txt"
echo }--------------------------------------------------------------------------------------------------{ >> "%windir%\netstat.txt"
echo }----------------------------------------PID-List-----------------------------------------------{ > "%windir%\pid.txt"
tasklist >> "%windir%\pid.txt"
"%windir%\netstat.txt" %
"%windir%\pid.txt"
del "%windir%\pid.txt"
del "%windir%\netstat.txt"
cls
exit