Trouble with COMMAND in Quick

Rohde Dirk (Van) Dirk.Rohde@vpgroup.com
Tue, 14 Mar 2000 11:11:15 -0800


Is the "HOMEDIR" environment variable set up correctly.  The path you listed
in the error message, "./home/gener/v63oln/", is different than the path
listed in your "Using full path" menu item, "/home/gener/".  Not only does
it have an extra subdirectory of "v63oln", but is starts with "./",
indicating a relative path.

-----Original Message-----
From: Robert J.M. Edis [mailto:robert.edis@creatcomp.com]
Sent: Tuesday, March 14, 2000 9:57 AM
To: 'powerh-l@list.swau.edu'
Subject: Trouble with COMMAND in Quick


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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.