File name Aliases

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a way to change the name of a file or a directory and still
have links to the old name directed to the new name. In other words, if I
click a link to the old name, I will be directed automatically to the file
with its new name. I am not referring to the 8.3 file name format (e.g.
"Meaningful name.doc" becomes "MEANIN~1.doc"). I mean a whole new long name.
 
David Gerard said:
I am looking for a way to change the name of a file or a directory and
still
have links to the old name directed to the new name. In other words, if I
click a link to the old name, I will be directed automatically to the file
with its new name. I am not referring to the 8.3 file name format (e.g.
"Meaningful name.doc" becomes "MEANIN~1.doc"). I mean a whole new long
name.

David,

You are talking about what is known as a hard link.

See the command line tool fsutil

Usage : fsutil hardlink create <new filename> <existing filename>
Eg : fsutil hardlink create c:\foo.txt c:\bar.txt

NewFileName
Specifies the file to which you want to create a hardlink.
ExistingFileName
Specifies the file from which you want to create a hardlink.


--

Regards,

Mike
--
Mike Brannigan [Microsoft]

This posting is provided "AS IS" with no warranties, and confers no
rights

Please note I cannot respond to e-mailed questions, please use these
newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top