Printing file names

Is it possible to retrieve and print all or some of file names from floppy disks?
tolstojAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patricia Siu-Lai HoCommented:
tolstoj, It is possible but please specify your needs by giving details or your example.     pslh
0
tolstojAuthor Commented:
I would like to print directories and name of files from floppies to the labels and atached the labels to the floppies.
0
Patricia Siu-Lai HoCommented:
tolstoj, Try this.

Use MS-DOS Prompt (start-programs-MS-DOS Prompt) to go to the A:\ prompt and type as following where "_" is showing the space and "C:\data\dir-a1.doc" is the example of a file name in storing your directory of A drive for retrieval, editing and printing.

A:\>dir/s/oe_A:_/o:gn_/4_>_C:\data\dir-a1.doc

It looks like this: -
A:\>
A:\>dir/s/oe A: /o:gn /4 > C:\data\dir-a1.doc
A:\>

Then use wordpad to open the file "dir-a1.doc". Select any data within the file and ready to print.
You can set your printer and page setting or copying to other word programs and print to label.

pslh
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

tolstojAuthor Commented:
It is working well but names are short, only DOS version
0
Patricia Siu-Lai HoCommented:
tolstoj,
If you open the doc file, on the left hand side is the short name in 8.3 format. On the right hand side is the long file name.

For floppy drive A, you may find the short file name is the same as the long file name. It is because it is in FAT (FAT16).

Long file name can only be shown in FAT32.

If you use this method to print C: drive or any subdirectory of C drive (FAT32), you will find the difference and you can find the long file name in the right hand side.

pslh
0
tolstojAuthor Commented:
Thank you
0
Patricia Siu-Lai HoCommented:
You're welcome!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.