|
-
Oct 19th, 2001, 03:12 PM
#1
Thread Starter
New Member
API: ShellExecute
Is there anyway to specify the Directory as a 'CURRENT' directory versus a fixed directory? I want the ShellExecute to launch a file on the root of a CD no matter the Drive letter.
Any help is appreciated.
-
Oct 19th, 2001, 03:16 PM
#2
Member
You mean like "\stuff.bat" (that will run from the root of the current drive)?
-
Oct 22nd, 2001, 06:50 AM
#3
Black Cat
There's a SetCurrentDirectory API call that can change it.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 22nd, 2001, 07:11 AM
#4
Originally posted by JoshT
There's a SetCurrentDirectory API call that can change it.
I believe the ChDir statement is the same as that API function.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|