Calendar Data Store

B

Brian Bradley

I want to move my Windows Calendar data file

([Username]'s Calendar.ics)

to my User directory where I can keep an eye on it and back it up, en masse,
with some still unkonwn and presumably third-party backup app that allows
for backing up by folder.

But Windows Calendar insists on keeping its data file in:

C:\Users\[Username]\AppData\Local\Microsoft\Windows Calendar\Calendars

When I delete that data file, WC re-creates an empty one in that same
location.

When I move that data file to my User folder, then import it back into an
empty WC, WC imports the data to a newly created .ics file in that same
location.

I couldn't find any registry data to manipulate.

But while searching the Web for hints or tweaks, I came across Microsoft's
own TechNet Web site

(http://www.microsoft.com/technet/windowsvista/security/uacppr.mspx)

which included this info:

<quote>

User Account Control Overview
With Windows Vista, application developers need to decide which of the two
levels of privilege their application needs to complete specific procedures.
If an application doesn't need administrative privileges for a task, then it
should be written to require only standard user mode privileges. For
example, a standard user mode-compliant application should only write data
files to a non-system location, such as the user profile, as opposed to the
program files directory tree.

<end quote>

Most important to me is how I can get my .ics file to reside in my User
folder and stay there once WC has "gotten ahold" of it.

Of secondary interest to me is whether WC complies with MS's own
requirements regarding writing data in non-system locations.

I posted in the Mail NG but got no takers.

Thanks,

Brian
 
G

Guest

I'm sure it is being protected as a system file. You delete it and Windows
replaces it.
 
M

Martin Wallgren

I want to move my Windows Calendar data file
([Username]'s Calendar.ics)

to my User directory where I can keep an eye on it and back it up, en
masse, with some still unkonwn and presumably third-party backup app that
allows for backing up by folder.

It's possible to move the file and make a symlink in the original folder
pointing to the new location. Just tried it and it seems to work fine.
 
M

Martin Wallgren

I want to move my Windows Calendar data file
([Username]'s Calendar.ics)

to my User directory where I can keep an eye on it and back it up, en
masse, with some still unkonwn and presumably third-party backup app that
allows for backing up by folder.

It's possible to move the file and make a symlink in the original folder
pointing to the new location. Just tried it and it seems to work fine.
 
B

Brian Bradley

Thanks, M.W.

How did you "make a symlink in the original folder?"

My research shows that Vista will accomodate symlinks, but they are
different from the simple shortcuts I'm familiar with.

Brian


Martin Wallgren said:
I want to move my Windows Calendar data file

([Username]'s Calendar.ics)

to my User directory where I can keep an eye on it and back it up, en
masse, with some still unkonwn and presumably third-party backup app that
allows for backing up by folder.

It's possible to move the file and make a symlink in the original folder
pointing to the new location. Just tried it and it seems to work fine.
 
M

Martin Wallgren

How did you "make a symlink in the original folder?"
My research shows that Vista will accomodate symlinks, but they are
different from the simple shortcuts I'm familiar with.

Open up Command Prompt and use the program MKLINK.

mklink "%LOCALAPPDATA%\Microsoft\Windows Calendar\Calendars\Filename.ics"
"\Path\To\Target\Filename.ics"
 
B

Brian Bradley

Thanks VERY much, W.M.!

Brian

Martin Wallgren said:
Open up Command Prompt and use the program MKLINK.

mklink "%LOCALAPPDATA%\Microsoft\Windows Calendar\Calendars\Filename.ics"
"\Path\To\Target\Filename.ics"
 
B

Brian Bradley

This doesn't work for me:

I delete the data file "Brian's Calendar.ics" in
"C:\Users\Brian\AppData\Local\Microsoft\Windows Calendar\Calendars"

then I run CMD as Administrator and type "mklink
"%LOCALAPPDATA%\Microsoft\Windows Calendar\Calendars\Brian's Calendar.ics"

The MKLINK command returns the message "Symbolic link created [correct
parameters here]."

But it appears that the MKLINK command is creating a bona fide SHORTCUT
(with the shortcut arrow) called Brian's Calendar.ics, which Windows
Calendar sees upon its next open/run, and therefore creates and opens a new
blank calendar with the default name "Brian's Calendar (2)," apparently in
deference to the shortcut "Brian's Calendar.ics" that the MKLINK command
created.

What am I missing?

Thanks!

Brian
 

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

Top