Andy

If I understand this right, you are trying to end up running a uvsh
executable on one machine on a UniVerse account on another machine. Bad
idea: no least because of the locking issues.

You might be better off to write a small VB Script to instantiate a
UniObjects connection to the remote machine and run the program 'in place'.
You can execute the script by calling the CSCRIPT.EXE program in your
Windows directory passing the script name.

Email me offlist if you need an example of a VBScript with UniObjects.

Brian


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Andy Moore
> Sent: 01 August 2005 10:33
> To: u2-users@listserver.u2ug.org
> Subject: [U2] UVSH from another machine
> 
> DISCLAIMER:
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity 
> to whom they are addressed.
> If you have received this email in error, please delete it 
> and notify the sender immediately.  Please note that there is 
> no guarantee that this email or any attachment is virus free 
> or has not been intercepted or amended.
> 
> I am trying to use UVSH to launch a basic program in 
> Universe, but I need to call it from another server.
> 
> On the other server at the moment I have a simple batch file 
> that is called when an event occurs.
> 
> The batch file sets the D drive on the Universe server as a 
> mapped drive called X on this server, then calls UVSH from 
> the account's directory with the program name after it.
> 
> The problem is that as the drive is mapped as X and not D (as 
> D is already in use) UVSH doesn't call the application as 
> it's looking for the account on X instead of D.
> 
> Has anyone come across this issue before or know a way around it?
> 
> The batch file is as follows:
> 
> @echo off
> net use x: \\uvserver\d$ password /user:uvserver\administrator
> x:
> cd\PrimaryStuff\BISERVERCONTROL
> x:\Ardent\UV\bin\uvsh.exe absencesignal
> 
> 
> Andy Moore
> Selima Software Ltd
> Tel: 0114 2815000
> Fax: 0114 2817777
> email: [EMAIL PROTECTED]
> Support: http://tracker.selima.co.uk <http://tracker.selima.co.uk/>
> Forum: http://forum.selima.co.uk <http://forum.selima.co.uk/>
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to