Setting alternate data storage location?

D

Donald Newcomb

Some programs for windows are designed to store their data in the same
folder hierarchy where the program is located. (e.g. C:\Program
Files\Vendor\Program Name\Data) This seems particularly common for game
programs. I would like redirect the data storage to someplace in the
C:\Documents and Settings for the current user, such as a folder (e.g. My
Gamedata) in My Documents.

There must be a way to set up a shortcut to replace the "Data" folder above
with a pointer to the current user's My Documents folder. I know how to do
this for one user but not how it can be done to work for any user. Thanks.
 
D

Danny Sanders

There must be a way to set up a shortcut to replace the "Data" folder
above
with a pointer to the current user's My Documents folder. I know how to do
this for one user but not how it can be done to work for any user. Thanks.

There are circumstance where the "my documents" folder is only accessible by
the user who's profile the my documents folder resides in. Other users may
not be able to access that particular folder in someone else's profile.


hth
DDS
 
G

Gary Smith

It's not clear exactly how you're planning to use this, but %userprofile%
in a shortcut will be resolved to the Documents ansd Settings folder for
the current user.
 
D

Donald Newcomb

Danny Sanders said:
Thanks.

There are circumstance where the "my documents" folder is only accessible by
the user who's profile the my documents folder resides in. Other users may
not be able to access that particular folder in someone else's profile.
I thought that I could subisitute a shortcut for the "Save" folder using the
%userprofile% environment variable as the first part of the path but when I
tried this the program just replaced the shortcut with a new "Save" folder.
 

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