Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Finding MS-DOS Names With WinXP Pro

Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Finding MS-DOS Names With WinXP Pro

Thread Tools
 
Search this Thread
 
Old 9th April 2002 | 19:30
  #1 (permalink)  
Thread Starter
 
Joined: Aug 2001
Posts: 28
Likes: 0
From: Berkshire, United Kingdom
Finding MS-DOS Names With WinXP Pro

Can anyone help me?

I need to find the MS-DOS names of several files so that i can reference then in some VBA code. I am having to use their ms dos names as VBA does not seem to like/recongine there windows names. I had no problem with this when i started writing this system however since then i have upgraded to winxp pro, and as obviously microsoft does not want to dwell on the almost prehistoric operating system called MS-DOS, I cant seem to find the MS-DOS Names.

I have tried copying the files to a win98SE computer, however the MS-DOS names will be different on the WinXp pro computer as the hard drive is different and therefore contains different files so the MS-DOS names will be different.

Thanks in advance/anticipation

Michael Fuller PAFP
[email protected]
mfuller_uk is offline  
Old 9th April 2002 | 20:17
  #2 (permalink)  
 
Joined: Oct 1998
Posts: 468
Likes: 0
From: UK
what do you mean with MS-DOS names?

Dos was, is and will ever be able to have 8 characters before the dot and up to three after the dot.
If a filename is longer than 8 characters than the tilde ~ is used to abbreviate the name. The extension is always the same, in Dos as well as in Windows (any version).

If you cannot see the extension and need the extension to include in your prog, set Windows Explorer to show the extension...in Explorer click on TOOLS than FOLDER OPTION than VIEW and see that the HIDE FILE EXTENSIONS.... is unchecked.

If you have trouble in giving your prog the right direction, think about your directories as well, only old-DOS short names are accepted.
FL310 is offline  
Old 10th April 2002 | 00:39
  #3 (permalink)  
 
Joined: Mar 2001
Posts: 290
Likes: 0
From: Seattle, WA USA
I don't really understand the question, but if you simply want to look at the 8.3 names, open up a Command Prompt and type DIR /X
BayAreaLondoner is offline  
Old 10th April 2002 | 20:21
  #4 (permalink)  

Plastic PPRuNer
25 Anniversary
 
Joined: Sep 2000
Posts: 1,902
Likes: 0
From: Rochechouart, France
I suggest that you be very careful doing this. The 8.3 'DOS' filename that Win9.x generates from LFNs is dynamic, not static. IOW it may change if other files with similar LFNs are added to the folder. Stick to the 8.3 format to avoid nasty surprises.
Mac the Knife is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.