Batch and access path

Hello,

here is the very simple content of my batch:

echo off
net use T: "\\srvqual\14-Materiel C6 des ressorts"
pause

I want to map this shared folder on a workstation, but when I run it, it says:

"path not found"

the address is correct, when I type it in Run it works. Why?
Configuration: Windows XP Opera 9.51

4 answers

  • Votes
  • Date
  • Descending date
  1. Thank you for your response, but...

    CMD.EXE has been started with the path as the current directory. UNC paths are not supported. Using the default Windows directory.

    C:\WINDOWS>echo off
    System error 53 has occurred.

    The network path was not found.

    Press any key to continue...

    Here is the error I'm getting.