Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How can i get the folder path given in run option of start button in taskbar??

Posted on 2003-03-22
Medium Priority
Last Modified: 2010-05-01
I want to get the folder path which given in run option of start button in task bar.
Question by:shridev
LVL 28

Accepted Solution

vinnyd79 earned 225 total points
ID: 8186252
huh? Do you mean a folder path that was typed in by a user?
LVL 101

Expert Comment

ID: 8186405
Is this from the application?  

If you are trying to get the folder where the applicaiton is running from you can use App.Path.


Expert Comment

ID: 8187041
I believe you want to get the command line that was given by the user ("programm.exe commandline"). To do that, just read the variable Command (it's already defined by the app when it starts running) which contains the entire command line.

Good luck
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 8193528
yes, the folder path typed by user in run option  e.g //ntserver/temp/test

Author Comment

ID: 8193562
thanks lot. i want to get the folder path typed by user from command line.

Author Comment

ID: 8193563
thanks lot. i want to get the folder path typed by user from command line.
LVL 28

Expert Comment

ID: 8203225
why did you accept my comment as an answer?

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

581 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