Home / Microsoft / Microsoft DOS / call batch file in shared directory
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: call batch file in shared directory  (Read 1263 times)
99miles
Guest
« on: May 26, 2006, 10:42:48 AM »

Is there a way to call a batch file in a shared directory on another computer?

Maybe it's not due to security issues. I'm hoping to not have to map the drive.
I want to call:

\\\mycomputer\mysharedfolder\mybat.bat

Thanks!
IP logged
Sidewinder
Guru



Thanked: 97
Posts: 4,341

Experience: Familiar
OS: Windows 7

« Reply #1 on: May 27, 2006, 09:10:25 AM »

You can call files across the network provided you use the full UNC path to the file.

Code: [Select]
call \\mycomputer\mysharedfolder\mybat.bat

I prefer mapping the drive and addressing the file as if it were local.

 8-)

IP logged

If you don't know where you are going, any road will get you there

                                                                            -Lewis Carroll
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / call batch file in shared directory « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.085 seconds with 20 queries.