UNCs in batch files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Am I right in thinking you can't run a command in a *.bat
file from a UNC path ( \\server\share\file.exe )? I've
just seen a couple of lines in a startup script bat which
I'm sure won't work.

Do they work in any version of Windows/DOS ?
 
Am I right in thinking you can't run a command in a *.bat
file from a UNC path ( \\server\share\file.exe )? I've
just seen a couple of lines in a startup script bat which
I'm sure won't work.

Running a command in a batch file from a UNC works fine as long as the
person whose credentials it is running under has access to the network
share in the command.
Do they work in any version of Windows/DOS ?

As long as the networking services have been started, it works in all of
them.

--
Tom Porterfield
MS-MVP Smart Display
http://home.comcast.net/~tp.porterfield

Please post all follow-ups to the newsgroup only.
 
Back
Top