troubleshooting Question

How to specify OS variables from VFP

Avatar of MichaelKatz
MichaelKatz asked on
FoxPro
15 Comments3 Solutions918 ViewsLast Modified:
On a prior EE suggestion, I an using Bullzip to create PDF files.

Bullzip allows a user specified filename by using an environment variable.

I am trying to set up an environment variable with the run command. . .

RUN set pdfname=c:\pdfs\clientname

This works fine from the OS command window but NOT from the VFP command window.

I don't get any errors, but           ? GETENV('pdfname')             displays nothing
ASKER CERTIFIED SOLUTION
pcelba

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros