This is as much about ignorance of DOS as it is RB's Win32 shell class,
but perhaps someone can help me...
I need to run a command that's not available globally in DOS. AFAICT, I
can do this one of two ways:
- CD into the correct directory, then issue the command
- Issue the command from wherever I happen to be (where does the shell
class start you off in, btw?), using the full path like this:
"\Program Files\Interesting Program Folder\thecommand.exe"
Being my understanding of RB's Win32 Shell class is that it's a one-off
sort of thing, I don't believe I can do the first option. The problem
with the second option is that it works fine as long as I don't need to
pass command line arguments to the command, but unfortunately I need
to. I also have no idea how multiple partitions or drives will affect
things, but I'll cross that bridge once I can get this working on a
system with only one partition.
Any thoughts?
Thanks!
-Chris
---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|