Batch and access path

Leahkim Posted messages 3219 Status Membre -  
floxi Posted messages 153 Status Membre -
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 réponses

Leahkim Posted messages 3219 Status Membre 281
 
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.
0