View Single Post
  #2 (permalink)  
Old 02-25-2008, 02:20 PM
Malke
Newsgroup Contributor
 
Posts: n/a
Re: Windows Explorer Shows Names In Front Of Drive Letters

OfficeUser wrote:

> When Windows Explorer is opened, the following appears under My Computer:
> IBM_Preload (C:)
> My Book(F:)
>
> What is IBM_Preload and My Book? Where do they come from? I have never
> seen this before.
>
> If I program Excel to open the file C:\Customers\Contacts.xls or
> F:\Sales.xls, will they open since I did not hardcode IBM_Preload or My
> Book into the path?


Those are the volume names. All IBM Thinkpads (and possibly other IBM
Windows computers) name the C:\ drive IBM_Preload.

You should never hardcode volume names because in all probability the volume
names will be different on most computers. Then when your code is run it
will fail.

Perhaps I'm misunderstanding what you mean by "program", however. If you're
just talking about opening files living on C:\ or F:\ then you're fine. The
volume name has nothing to do with the location (C: or F:).

Malke
--
MS-MVP
Elephant Boy Computers
www.elephantboycomputers.com
Don't Panic!
Reply With Quote

 
Old 02-25-2008, 02:20 PM