Jump to content

Recommended Posts

Posted

...I go about doing this.

I want to make it so that windows copies a folder to the desktop of every user

The folder contains a few files and things.

Can anyone help :)

Cheers,

--Grant

EDIT: How do I make it copy the folder to the desktop. And not just the files?


Posted

I suppose that u have already created the accounts, just create the folders u want to be copied and put it in the install dir and in the batch use a command like

COPY %systemdrive%\install\foldername %systemdrive%\Documents and Settings\User\Desktop\ /Y

I think there are better ways, but i can't think of 1 right now....

how it helps :)

Posted

yes if you wan tthese things done durring install and not after teh system has been setup them copy your files to the default user account then any new user on the system will be made from the files there are everybody will get them.

Posted
I suppose that u have already created the accounts, just create the folders u want to be copied and put it in the install dir and in the batch use a command like

COPY %systemdrive%\install\foldername %systemdrive%\Documents and Settings\User\Desktop\ /Y

I think there are better ways, but i can't think of 1 right now....

how it helps :)

I understand how to do that, But I want it to copy itself when an account is made, or better still like in a 'All Users' Folder...

--Grant

Posted

Copy what you like to the "%PROFILEDIR%\Default User\Desktop\" directory, and each user will get their very own copy. Copy it to the "%PROFILEDIR%\Default User\Desktop\" directory and all users will share it.

If you are setting up multi user systems, you should define the contents of both of these in a less random manner than the default. Note: Default Users gives everyone a copy to do with as they please, All Users shares (thus controls) one copy for everyone. Users can use it, but only administrators can add/remove. You are best of doing all this from the cmdlines.txt call before the GuiRunOnce.

Silly me that'd be %PROFILESDIR%

Posted
Copy what you like to the "%PROFILEDIR%\Default User\Desktop\" directory, and each user will get their very own copy. Copy it to the "%PROFILEDIR%\Default User\Desktop\" directory and all users will share it.

If you are setting up multi user systems, you should define the contents of both of these in a less random manner than the default. Note: Default Users gives everyone a copy to do with as they please, All Users shares (thus controls) one copy for everyone. Users can use it, but only administrators can add/remove. You are best of doing all this from the cmdlines.txt call before the GuiRunOnce.

Thats what I wanted, thanks very much :)

--Grant

Posted

I tried doing this using some CMD Lines during unattended install. This is what I put.

CLS
@ECHO OFF
ECHO Copying additional Files and Folders to Desktop...
COPY "%systemdrive%\Desktop\Files\" "%PROFILESDIR%\All Users\Desktop\" /Y
ECHO Please wait...
ECHO.
ECHO.
ECHO Additional Files and Folders Installed Successfully...
ECHO Exiting...
ECHO.
ECHO.
ECHO DEBUG MODE.
PAUSE

And it doesn't work

This is what it says...

argh.jpg

Posted

As Yazoo said. You must be doing this from the GuiRunOnce file, as PROFILESDIR exists only in the PRE-GUI Reboot portion of set up. You can use ALLUSERSPROFILE (probably = C:\Documents and Settings\All Users) once the machine has been setup. I do not know of a variable for the default users profile.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...