I got a VERY easy one for y'all
this is for class so it's very simple. basically I'm supposed to write a batch file that shows the dir of a folder (contacts) on g drive, and then the contents of one of the textfiles (people.txt) within. I got it to work with something like
dir g:\contacts
type g:\contacts\people.txt
the problem is when it runs the prompt is directly beside the contents of the people.txt. like this
testing testingC:\>
here is a screen shot.
I know I can put the type command before the dir command in the bat and it runs correctly but it's supposed to be in the order I have it (dir then type).