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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Shelling

how do i set the start in directory when shelling an app
0
hess
Asked:
hess
  • 2
  • 2
1 Solution
 
TheAnswerManCommented:
put the path in with the Shell command
0
 
hessAuthor Commented:
more specific plaese

i want an example
0
 
fguerreiro_inixCommented:
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
 
hessAuthor Commented:
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
 
fguerreiro_inixCommented:
Did you try ChDir before shelling?
I don't now if works, but is a nice guess.

Hope this helps
Regards
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now