accessing remote resources on a remote computer 
Author Message
 accessing remote resources on a remote computer

I am trying to access remote resources of a machine I am connected to
through a cmd file.  However, it is not working (I think) because the
resource is not seen through psexec.

The line I am useing is as follows:
  psexec \\%1 wscript.exe \\NetwareServer\Volume\vbs\setblank.vbs //B

Is there any way to access a remote resource on a remote machine
useing psexec(preferred).  Or is there any way I can execute a vbs
file stored on machine A remotely on machine B (when connected from
Machine c).

PS I would copy the file locally, but I can not find a way to delete
the file if I did.

Thanks



Sun, 22 May 2005 02:58:33 GMT  
 accessing remote resources on a remote computer

Quote:

> PS I would copy the file locally, but I can not find a way to delete
> the file if I did.

Helpful hint:  VBS files are read into memory in their entirety, then
processed.  As soon as processing begins, the physical file is no longer
required.

So?  What's the point?

The point is you can have as the first (or last, or middle) 2 lines in the
VBS file:

Set oFSO = CreateObject("Scripting.FileSystemObject")
oFSO.deletefile (WScript.ScriptFullName)

Mitch Gallant started a thread on this very subject back in early October,
if you care to read more.
http://groups.google.ca/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3D9C7...
F2039%40istar.ca
(URL will be wrapped)



Sun, 22 May 2005 03:20:14 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Check remote computer's memory resource

2. Shared Resources on a remote computer

3. Remote Ole Server Over remote access connection

4. COM : accessing directory listing on remote computer

5. Get computer name and IP from remote computer

6. Remote access/control of another computer thru TCP/IP or IPX

7. Determining access rights to a remote computer

8. Help!!!how to run access application on remote computer

9. accessing a registry on a remote computer

10. How to verify if remote machine exists, and remote admin enabled

11. How to check remote physical memory without a remote client

12. How to verify if remote machine exists, and remote admin enabled

 

 
Powered by phpBB® Forum Software