Plastic_Cup_Politics Posted September 12, 2003 Share Posted September 12, 2003 ...I go about doing this.I want to make it so that windows copies a folder to the desktop of every userThe folder contains a few files and things.Can anyone help Cheers,--GrantEDIT: How do I make it copy the folder to the desktop. And not just the files? Link to comment Share on other sites More sharing options...
gui_m Posted September 12, 2003 Share Posted September 12, 2003 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 likeCOPY %systemdrive%\install\foldername %systemdrive%\Documents and Settings\User\Desktop\ /YI think there are better ways, but i can't think of 1 right now....how it helps Link to comment Share on other sites More sharing options...
webmedic Posted September 12, 2003 Share Posted September 12, 2003 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. Link to comment Share on other sites More sharing options...
Plastic_Cup_Politics Posted September 12, 2003 Author Share Posted September 12, 2003 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 likeCOPY %systemdrive%\install\foldername %systemdrive%\Documents and Settings\User\Desktop\ /YI 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 Link to comment Share on other sites More sharing options...
GreenMachine Posted September 12, 2003 Share Posted September 12, 2003 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% Link to comment Share on other sites More sharing options...
Plastic_Cup_Politics Posted September 12, 2003 Author Share Posted September 12, 2003 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 Link to comment Share on other sites More sharing options...
Plastic_Cup_Politics Posted September 14, 2003 Author Share Posted September 14, 2003 I tried doing this using some CMD Lines during unattended install. This is what I put.CLS@ECHO OFFECHO Copying additional Files and Folders to Desktop...COPY "%systemdrive%\Desktop\Files\" "%PROFILESDIR%\All Users\Desktop\" /YECHO Please wait...ECHO.ECHO.ECHO Additional Files and Folders Installed Successfully...ECHO Exiting...ECHO.ECHO.ECHO DEBUG MODE.PAUSEAnd it doesn't workThis is what it says... Link to comment Share on other sites More sharing options...
Yazoo Posted September 14, 2003 Share Posted September 14, 2003 Replace "%PROFILESDIR%\All Users\Desktop\"with"%ALLUSERSPROFILE%\Desktop\" Link to comment Share on other sites More sharing options...
GreenMachine Posted September 14, 2003 Share Posted September 14, 2003 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. Link to comment Share on other sites More sharing options...
Plastic_Cup_Politics Posted September 14, 2003 Author Share Posted September 14, 2003 That'll do the trick. Thanks guy's works perfect.--Grant Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now