Shortcut problem

  • Thread starter Thread starter Nathanael
  • Start date Start date
N

Nathanael

I'm having a bit of trouble with making a shortcut at the moment.
The problem I have is I'm trying to load up a *.xls which automatically
changes name monthly and yes it has to do that.
Its the only file in the folder as it automatically backs itself up at the
end of the month and puts the old copies in another folder.

I thought I could just make a shortcut to the relevant folder followed by
*.xls but apparently windows doesn't like that idea.
Any ideas???
 
Start, Run, type "cmd" (without the quotes), press [ENTER], Type:
fsutil hardlink create "c:\path to target\target.xls" "c:\path to
source\source.xls"
[ENTER]
source.xls and target.xls must be on the same disk, file system must be
NTFS.

This will create a hardlink to the source.xls
You can then rename or edit either. Both source.xls and target.xls will
point to the same file. Note: if a program deletes a file and recreates it,
the other hard-link will point to the older version, you must then create a
new hard-link to the new file.


George



in message
| I'm having a bit of trouble with making a shortcut at the moment.
| The problem I have is I'm trying to load up a *.xls which automatically
| changes name monthly and yes it has to do that.
| Its the only file in the folder as it automatically backs itself up at the
| end of the month and puts the old copies in another folder.
|
| I thought I could just make a shortcut to the relevant folder followed by
| *.xls but apparently windows doesn't like that idea.
| Any ideas???
 
Sounds interesting, I'm guessing from what you've said though that it wont
work across a network which I forgot to mention that it does.
 
in message
| Sounds interesting, I'm guessing from what you've said though that it wont
| work across a network which I forgot to mention that it does.

It won't ;-) all hard-links must be on the save partition.
Unless the hard-link that is accessible over the network does not change
it's name...
current.xls --> 2009-01-29.xls
And then accessing current.xls over the network, You know that it always
points to the latest version.



|
|
|
| "George Valkov" wrote:
|
| > Start, Run, type "cmd" (without the quotes), press [ENTER], Type:
| > fsutil hardlink create "c:\path to target\target.xls" "c:\path to
| > source\source.xls"
| > [ENTER]
| > source.xls and target.xls must be on the same disk, file system must be
| > NTFS.
| >
| > This will create a hardlink to the source.xls
| > You can then rename or edit either. Both source.xls and target.xls will
| > point to the same file. Note: if a program deletes a file and recreates
it,
| > the other hard-link will point to the older version, you must then
create a
| > new hard-link to the new file.
| >
| >
| > George
| >
| >
| >
| > "Nathanael" wrote in message
| > | > | I'm having a bit of trouble with making a shortcut at the moment.
| > | The problem I have is I'm trying to load up a *.xls which
automatically
| > | changes name monthly and yes it has to do that.
| > | Its the only file in the folder as it automatically backs itself up at
the
| > | end of the month and puts the old copies in another folder.
| > |
| > | I thought I could just make a shortcut to the relevant folder followed
by
| > | *.xls but apparently windows doesn't like that idea.
| > | Any ideas???
| >
| >
| >
 

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