|
-
Sep 7th, 2004, 03:13 AM
#1
DOS - CDROM letter [Resolved - work around]
Hi all, non-vb time 
1. How can I return (thru a batch file / command line) the drive letter of the CDROM, or
2. If I have a batch file resident on a CD, can I do something like 'Echo Path' and have it display the 'current path' (being the drive letter).
Scenario:
I need to pass a file as a parameter to a M$ app, and this particular app requires a full path for the param. As the file will be on CD, I don't want to 'hard' code the drive letter .
I think I have tried all internal and external DOS commands and %systemroot% etc!
Bruce.
Last edited by Bruce Fox; Sep 7th, 2004 at 07:34 PM.
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
|