Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieve value from shell script

Status
Not open for further replies.

evaleah

Programmer
Mar 18, 2003
252
US
I have the following function:
Code:
Function EncryptPassword(strPass As String) As String
    EncryptPassword = Shell("java -jar C:\InProcess\STSPasswords\registry-password.jar " & strPass)
End Function

When I run the jar file in a command prompt if returns a long string but the value retrieved by this function is a 4 digit number. Can anyone tell me how to retrieve the actual value that shows up in the command window when the jar file is run?

Thanks!
Eva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top