Re: FSUTIL, hardlink not working



Writing pseudo-code is fine when explaining a general
principle but is of no use when it comes to debugging.
I created a batch file for you that shows how the hardlink
concept works. You now need to create your own batch
file to demonstrate how it does NOT work when you do it.

yes,
i recreated perfectly a batch file with your concept in mind and it worked
fine:

==my sample: ==

time /T >original.txt
fsutil hardlink create hardlink.txt original.txt
date /T >>hardlink.txt
md sample
move hardlink.txt .\sample
type .\sample\hardlink.txt

== end of my sample ==

it works.
but when i do the following in interactive mode (by hand), it doesn't work:

copy con original.txt
{typing something, then ctrl-z, return}
fsutil hardlink create linked.txt original.txt
edit linked.txt
{modify somewhat}
type original.txt

the resulting file is not modified :-(
and the same thing happens if i use notepad (not only "edit")


.



Relevant Pages

  • Re: FSUTIL, hardlink not working
    ... I created a batch file for you that shows how the hardlink ... fsutil hardlink create hardlink.txt original.txt ... You are punishing yourself by using a DOS program (edit) ...
    (microsoft.public.win2000.file_system)
  • Re: hosts file location
    ... Good luck with that -- it will likely be difficult. ... Are you trying to put it literally in the ROOT, ... The FSUtil hardlink will work though. ... a matter of setting the permissions -- thus the need for a batch file (at ...
    (microsoft.public.windows.server.dns)
  • Re: Strange "Element undefined" problem
    ... For js debugging, I usually configure FF to clear its cache on exit without ... via a batch file that uses DEL, COPY, etc. commands in a CMD file to ...
    (comp.lang.javascript)
  • Re: How to concate text files
    ... batch file, and another line to call the batch file, then, perhaps there ... would be a vb command equivalent that can replicate the results in a line or ... ChDir "D:\Temp" ... For debugging, use something like this: ...
    (microsoft.public.vb.general.discussion)

Loading