I know this is somewhat basic but I cannot get this script to print to a log and it is driving me nuts. It doesnt fail it just sits on the printing part for a very long time and then finally goes past without error only nothing shows up on my file. What the script is doing is looking at pip files to spit out the last access date so we can find out if users are actually using their products. I do not know if this is going to append or replace the file so i will need to address that as well but right now it does not print the script output at all. I want it to print the entire dos window complete as I also have it spitting out the machine name so we will know what we are looking at in the log. Any suggestions on why it will not print. I have admin rights on the test machine and it still does not want to write to the file.
dir *.pip /S /T:A