netshares in batch files RRS feed

  • Question

  • Hi,

    I'm using batch files often for automation of some tasks.
    In some of them I use a mounted net share (auto mount on logon), but I sometimes got problems with that.
    Sometimes the script can't access the net share.
    When I than look within the explorer I see that the drive of the net share has a red X.
    when click on the drive the x is removed and everything works normal.

    Does anyone knows why this happen or how can I avoid this?

    Tuesday, May 29, 2012 12:39 AM