Results 1 to 6 of 6

Thread: DOS - CDROM letter [Resolved - work around]

Threaded View

  1. #1

    Thread Starter
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    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
  •  



Click Here to Expand Forum to Full Width