need to make batch error output go away
Posted on 2013-06-28
Hello script experts,
I get the below message in one of my batches
"CMD.exe was started with the above path as the current directory"
"UNC paths are not supported. Defaulting to windows directory".
What I am doing is starting a batch, over the network, from an Intranet iframe page I made. Anyway, the batch executes fine, does not have any problems,...I would just like that error to go away because I dont want people staring at it.
I converted it to exe, because some some computers open batch files as notepad instead of executing. Not sure if that has anything to do with it, but when I use just the batch instead of the exe I dont notice this error, but it moves much faster and that is probably why.
Is there anyway to add something in the batch that will prevent this error message output, or possibly any/all error message output?