User Profile question

  • Thread starter Thread starter Amir M.
  • Start date Start date
A

Amir M.

Hi,

I am using a batch file to copy some files from the My
Documents folder from one disk to another. The second
disk is a clone of the first disk. Under the Documents
and Settings folder, a user's My Documents folder displays
the title "My Documents", only if you are logged on as
that user. When copying to the second disk, I want to
copy the files to the same exact location as the first
disk. On the second disk, under the Documents and
Settings folder, that user's My Documents folder doesn't
display the tile "My Documents". It displays "Sherry's
Documents". Then, in the batch file, I assume if I
put "My Documents" in the destination path, then the files
would'nt be copied to "Sherry's Documents". Instead, the
batch file would create a My Documents folder under
Sherry's user account, which would be different from the
real Windows built-in My Documents folder. Is that right?

Thanks
 
It's hard to say since we didn't create the batch file.
What you're experiencing however is normal. My Documents
is only displayed as that for the user that's logged in.
Any other "My Documents" folder that belong to other users
will have their name as a part of it.

All I can think of is that you should create the batch
file using the full path to their My Documents folders
instead of their shortcuts. My Documents is really just a
shortcut though you have an extra option of telling it
where it links to. By full path I mean the whole thing:
C:\Documents and Settings\Sherry\My Documents
 

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