Managing Long File Names (Lab)

  1. In Windows NT Explorer, click the icon for drive C.

  2. On the File menu, point to New, and then click Folder Name the Folder Long File Names.

  3. Inside this folder create the following text documents using Windows NT Explorer:

  4. At a command prompt, change to the root directory (C:\). Use the dir /x command to list the root directory. How does the folder that you just created appear in the directory list.
    _____________________________________________________________

  5. Change into the directory that you created.

  6. type dir /x to list the directory.

    Short File Name             Long File Name            
      
      
      
      
      
      
      

  7. Why does the file Text.txt have two extensions.
    _____________________________________________________________

  8. Rename LONGFI~1.TXT to LFN.LAB by typing ren LONGFI~1.TXT LFN.LAB and pressing enter.

  9. List the directory again and note the file name and alias. What happened to the file name and alias of the file you renamed?
    _____________________________________________________________

  10. Type ren "long filename.exercise1.lab.txt" LONG.TXT (Be sure to use quotation marks around the long file name because the ren command does not recognize blank spaces.

  11. List the directory again. What happened to the file name and alias of the file you renamed?
    ______________________________________________________________

  12. Type ren LONG.TXT Long.Txt.

  13. List the directory again. What happened to the file name and alias of the file you renamed?
    ______________________________________________________________

  14. Why does Long.Txt have an alias while LONG.TXT did not?
    ______________________________________________________________