?
Solved

CGI VB5.0 directory problem

Posted on 1997-10-23
1
Medium Priority
?
244 Views
Last Modified: 2013-12-25
I am using VB5.0 to program a CGI script, and it needs to know the dir from where it was executed no matter what directory it is executed from. For example if a HTML file say in c:\inetpub\wwwroot used a form to execute the CGI script in c:\inetpub\exe for form data collecting, when i use Curdir in my script i get c:\inetpub\wwwroot as curdir when i needed c:\inetpub\exe, what do i do to get the CGI scripts dir no matter where the CGI script is placed!!

Thomas
0
Comment
Question by:thomasschmidt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
alamo earned 200 total points
ID: 1831003
This less of a CGI question than a VB question... use App.Path to find out what directory your .exe is in.
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question