Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

windows bat file error

Tags:

batch-file

i try to launch a BAT file on a network share but i get this error:

'\\dev\applets'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.

is there a workaround for this?

thanks!

like image 938
clamp Avatar asked May 10 '11 12:05

clamp


1 Answers

Do you have a chance to mount the network share first?

net use \\dev\applets z:
z:\mybatchfile.bat
like image 198
Jonas Heidelberg Avatar answered Sep 22 '22 06:09

Jonas Heidelberg