Ed
What version of UniVerse?
There are 'issues' with the "DOS /c ..." command if you try to pass it
arguments (like FILENAME or path names) with embedded spaces. There is
a fix for this in 10.1.1
>From the 10.1.1 Release Notes:
5616 At this release, a new GCI function, UVRunCommand, has been
added. This command executes a Windows executable and has one
argument. You can specify the executable name and its argument
as a string. To execute the command, use
C:\windows\system32\cmd.exe /c. You must use single or double
quotation marks around the string argument, as shown in the
following example:
Result = UVRunCommand("c:\WINDOWS\system32\cmd.exe /c dir")
Alternatively, you could make sure there are no embedded spaces anywhere
in your parameters
Or
You could create a batch file on the fly and execute that
HTH
Mike
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ed Weissman
> Sent: Tuesday, 28 June 2005 06:54
> To: [email protected]
> Subject: [U2] GPG encryption from within Universe
>
> Anyone using gpg from GNUpg for encryption? Running IBM
> Universe on Windows NT. I downloaded this DOS based encryption
> software from www.gnupg.org as required by one of our trading
> partners. It works perfectly from a DOS command prompt -
> "gpg --armor --recipient XXX -encrypt-file FILENAME etc.etc
> etc", creating FILENAME.asc. in the same directory. But when
> I shell out from within Universe using "DOS /c gpg etc etc etc",
> I get an error message "cannot find public key". I suspect this
> has something to do with either the way I created the keys or
> with Windows registries. Anyone run into this problem before?
> I have a workaround, an endless .bat loop on the server, that
> encrypts a given filename whenever it finds it, but...YECCHH!
> There's gotta be a better way. Any ideas?
>
> Ed Weissman
> The Matrix Group
> ed @ematrixsports.com
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
>
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or
distribute this message or the information in it.
If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/