Solved

Shelling

Posted on 1998-10-27
5
316 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 30 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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