Hi, I am not familiar with DOS commands.I am trying to read the CONTENTS of a FILE and supply to an executable. So, I want to essentially do the UNIX equivalent on windowsjava -cp `cat classpath.txt' ThanksSivaI WOULD to know how to use command "type filename.txt" and supply the contents as an ARGUMENT to a program on the command line. ThanksSivaThis seems to workfor /f %%a in (classpath.txt) do (java -cp %%a)
Your experience on this site will be improved by allowing cookies. Read Cookie Policy