05-21-2011
In the shell environment, the program must exist in the shell PATH. In te foxplus environemnt it must exist in the foxplus path, which is known by "set path to ...". The two are different. Within fox, the path is where prg etc are stored. When you say DO ..., foxplus looks in the sequence of folders specified in the foxplus path and not in unix path.
So move the executable (bin file) to the fox path.
Note that this is based on old experience in DOS FOXPRO.
Last edited by ananthap; 05-23-2011 at 04:49 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I'm trying to write a bash script to find some files. However it seems that the find command is not behaving the same way when the script is executed as it does when executed from the command line:
Script extract:
#!/bin/bash
...
NEW="/usr/bin/find current/applications/ -name '*jar'... (3 Replies)
Discussion started by: mattd
3 Replies
2. SCO
Hi, i'm running SCO Openserver 5.0.7 with foxbase+ 2.1.2d. Is it possible to change the screen size to use more than 25 lines / 80 columns?.
Clients connect using PuTTY, they can enlarge the SSH client window, but the application still runs in the original window size. (0 Replies)
Discussion started by: cyruspy
0 Replies
3. UNIX for Dummies Questions & Answers
How Do I find all files in /home that are not .jpgs? (5 Replies)
Discussion started by: glev2005
5 Replies
4. Shell Programming and Scripting
Just i want to ask How to search and display name of zero byte file
I have used find command but it is showing complete file path
Thanks
find . -size 0
giving me zero byte file with location
1)/home/user/a (4 Replies)
Discussion started by: vivek1489
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am still learning my way around unix commands and I have the following question.
I have a website and I want to search for all the html pages that don't contain a certain js file. The file I am searching for is located under /topfolder/js/rules.js . So I assume in my grep search I... (5 Replies)
Discussion started by: SyphaX
5 Replies
6. UNIX for Advanced & Expert Users
Hi my name is Danilo.
I'm trying to install Sco foxbase + 2.1.2d. When i tried to install it with "custom" command, i receive the error:
"sed: cannot open: ./tmp/perms/prep/*/prep.message: No such file or directory (error 2)
The Operative System is Sco Open Server 5.0.7v (the virtualized version... (1 Reply)
Discussion started by: danilosevilla
1 Replies
7. SCO
Hi my name is Danilo.
I'm trying to install Sco foxbase + 2.1.2d. When i tried to install it with "custom" command, i receive the error:
"sed: cannot open: ./tmp/perms/prep/*/prep.message: No such file or directory (error 2)
The Operative System is Sco Open Server 5.0.7v (the virtualized version... (1 Reply)
Discussion started by: danilosevilla
1 Replies
8. Shell Programming and Scripting
Please if You can help me debug why nothing is found by this command?
# echo "Zeus Robot" >> /home/vps/190/test
# cat /home/vps/190/test
Zeus Robot
# find /home/vps -type f -mtime 2 -size -1000k -exec grep -l "Zeus Robot" {} \; >> out
# cat out
# cat /home/vps/190/test
Zeus Robot
Why... (6 Replies)
Discussion started by: postcd
6 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I'm new to Unix and need the help of an expert.
How can I run a foxbase command "DO perform FoxBase program" in Unix?
Thank you (1 Reply)
Discussion started by: webuxer
1 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I don't have tree on the Solaris server and our SA don't want to install it. I found this example from One Line Linux Command to Print Out Directory Tree Listing | systemBash that more or less does what I am mainly looking for.
Example run is as below:
$: find ./ | sed -e... (2 Replies)
Discussion started by: newbie_01
2 Replies
LEARN ABOUT DEBIAN
shtool-path
SHTOOL-PATH.TMP(1) GNU Portable Shell Tool SHTOOL-PATH.TMP(1)
NAME
shtool-path - GNU shtool command dealing with shell path variables
SYNOPSIS
shtool path [-s|--suppress] [-r|--reverse] [-d|--dirname] [-b|--basename] [-m|--magic] [-p|--path path] str [str ...]
DESCRIPTION
This command deals with shell $PATH variables. It can find a program through one or more filenames given by one or more str arguments. It
prints the absolute filesystem path to the program displayed on "stdout" plus an exit code of 0 if it was really found.
OPTIONS
The following command line options are available.
-s, --suppress
Supress output. Useful to only test whether a program exists with the help of the return code.
-r, --reverse
Transform a forward path to a subdirectory into a reverse path.
-d, --dirname
Output the directory name of str.
-b, --basename
Output the base name of str.
-m, --magic
Enable advanced magic search for ""perl"" and ""cpp"".
-p, --path path
Search in path. Default is to search in $PATH.
EXAMPLE
# shell script
awk=`shtool path -p "${PATH}:." gawk nawk awk`
perl=`shtool path -m perl`
cpp=`shtool path -m cpp`
revpath=`shtool path -r path/to/subdir`
HISTORY
The GNU shtool path command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1998 for Apache. It was later taken
over into GNU shtool.
SEE ALSO
shtool(1), which(1).
18-Jul-2008 shtool 2.0.8 SHTOOL-PATH.TMP(1)