title: Cant output batch file commands to txt file
body: <p>i work as a network engineer and i would like to write some scripts to make my job more easy especially in situations where i cannot be on site and the client cannot connect to the internet so this is one script i made that would give me basic network test info</p>
  
  <p>However my issue is i cant get it to output to a txt file after the script is ran, i want the user having the choice of weather to create the file or not. after i go through the prompt and click yes it will pause for a bit ( i assume its running the commands) however no file is made on my desktop where the file is stored.</p>
  
  <p>At my work i am running windows 10, and at home xp but i need this to be able to run on either.</p>
  
  <p>here is a copy of what i am having trouble with i have more questions but would first like to get this fixed</p>
  
  <p>i have tried using >>output.txt (commands in here) i also tried command >> output.txt but either way there is no file on my desktop</p>
  
  <pre><code>&gt;&gt;output.txt (ipconfig /all ping google.com tracert google.com)
  </code></pre>