System calls over network

G

Gabriel Leblanc

Hello,

I am wondering if there's an easy way to do a system call to a file
that resides on the network. Say for example I would like to call the
batch file which is located at

\\ComputerName\file.bat

I tried :
<open file '\\ComputerName\install.bat', mode 'r' at 0x007E7B20>

Of course, I replaced ComputerName and file.bat with the correct
paths.

Any idea ?

Thanks !
 
R

Rene Pijlman

Gabriel Leblanc:
I am wondering if there's an easy way to do a system call to a file
that resides on the network. Say for example I would like to call the
batch file which is located at

\\ComputerName\file.bat

I tried :

System calls, batch files, UNC paths and pipes are different things. What
exactly are you trying to acomplish? And on what platform?

Also, you should use raw strings to prevent the double backslash from
being escaped to a single backslash:

r"\\ComputerName\file.bat"
 
M

Moosebumps

Windows "at" command, or soon.exe which you can download from the Microsoft
website. do a google search on those. I had the exact same question.

MB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,944
Members
47,491
Latest member
mohitk

Latest Threads

Top