?
Solved

Shelling

Posted on 1998-10-27
5
Medium Priority
?
328 Views
Last Modified: 2010-04-30
how do i set the start in directory when shelling an app
0
Comment
Question by:hess
[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
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1441971
put the path in with the Shell command
0
 

Author Comment

by:hess
ID: 1441972
more specific plaese

i want an example
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1441973
Shell(pathname[,windowstyle])
      
The Shell function syntax has these named arguments:

pathname = Required; Variant (String). Name of the program to execute and any required arguments or command-line switches; may include directory or folder and drive.
0
 

Author Comment

by:hess
ID: 1441974
i can read a help file and thats all i'm getting here.  With a shortcut under propeties one can specify a start-up directory.... how do i do this with the shell function?
0
 
LVL 3

Accepted Solution

by:
fguerreiro_inix earned 60 total points
ID: 1441975
Did you try ChDir before shelling?
I don't now if works, but is a nice guess.

Hope this helps
Regards
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

777 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