Trouble with COMMAND in Quick
Robert J.M. Edis
robert.edis@creatcomp.com
Tue, 14 Mar 2000 12:56:48 -0500
G'day all
Environment:
O/S: HP/UX 10.20
Shell: KSH
PH: version 7.33.d3
I have created a simple menu screen to execute serveral shell scripts. The
COMMAND works fine when the script is in the same directory as the screen,
i.e. the local directory, but doesn't work when the script is in another
directory. I get the error:
sh: ./home/gener/v63oln/profile.dvep: not found.
I have tried using a link and get the same result.
The script has -rwxrwxrwx privileges in both local and remote locations.
I can execute the remote script fine from the unix prompt so I know my
account has the privileges required.
Any ideas?
The code is below:
Blue
-----------------------------------------------------------------
CANCEL CLEAR
SCREEN PROFILE_MENU MENU
TITLE "System Log On Menu" CENTRE AT 3,41
SKIP TO LINE 6
ALIGN (20,24,)
COMMAND "/home/gener/profile.dvep" LABEL "Using full path" &
CLEAR ALL REFRESH ALL
COMMAND "$HOMEDIR/profile.dvep" LABEL "Using link " &
CLEAR ALL REFRESH ALL
COMMAND "profile.dvep" LABEL "Using local script" &
CLEAR ALL REFRESH ALL
COMMAND "exit" LABEL "Log off"
BUILD
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.