#17252 - 2002-02-08 01:30 PM
Standardised Desktops
|
Darren_W
Hey THIS is FUN
   
Registered: 2001-10-10
Posts: 208
Loc: Bristol, England
|
Hi,I would like to know if it is possible to compare two directories in my case a standard desktop held on the server and Local desktop in the c:\windows on windows 9x. I would like it to clear of any shortcuts put on by users, leave ones that should be there, and add any that are missing. I don't want to turn profiles on or use policies. Bye Darren 
_________________________
I want to share something with you - the three sentences that will get you through life. Number 1, 'cover for me.' Number 2, 'oh, good idea, boss.' Number 3, 'it was like that when I got here'.
|
|
Top
|
|
|
|
#17253 - 2002-02-08 02:19 PM
Re: Standardised Desktops
|
Will Hetrick
Hey THIS is FUN
Registered: 2001-10-02
Posts: 320
Loc: Harrisburg, PA USA
|
Darren, It is possible. What you can do is when the login script runs, delete everything out of their desktop and then copy the shortcuts from your area on the lan to their desktop. ie. Del %userprofile%\dekstop\*.* copy \\server\share\*.* %userprofile%\desktop for user profile, I mean the path that contains the desktop settings. I am not sure of where those are on the WIN95 boxes (I think under c:\windows) since I have not dealt with them in a while. [ 08 February 2002: Message edited by: Will Hetrick ]
_________________________
You have at least 2 choices. Each choice changes your destiny. Choose wisely!
|
|
Top
|
|
|
|
#17257 - 2002-02-11 05:28 PM
Re: Standardised Desktops
|
DannyS
Lurker
Registered: 2002-02-11
Posts: 2
|
Hi DarrenTake a look at the Robocopy utility from the NT Resource Kit. There is an Option /MIR where two directories keep in sync. We used this to keep two application server in sync. This utility can be called with the SHELL Command of Kix. Cheers, Danny
|
|
Top
|
|
|
|
#17258 - 2002-02-22 01:38 PM
Re: Standardised Desktops
|
Darren_W
Hey THIS is FUN
   
Registered: 2001-10-10
Posts: 208
Loc: Bristol, England
|
Hi,Just got round to having a look at the dircompare file, I have modified it, run it and it does not seem to compare the directories. I have run it with /d and it seems to find both directories, but it does not find any files to compare. Copy of my script << ; --------------------------------------------------------------------------- ; - site defined settings - ; --------------------------------------------------------------------------- $dir2="\\butterfly\desktop$" ; - source directory - $dir1=ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop") IF (Substr($dir1,Len($dir1),1) <> '\') $dir1=$dir1+"\" ; - destination directory - ENDIF $file_mask="*.*" ; - "" = all files / "*.kix" = only kixtart files - ; $execute_mode="yes" ; - yes/no - $execute_file=$tmp_directory+"\cmd.kix" ; $debug_mode="no" ; - yes/no - $debug_file=$tmp_directory+"\kix-info.log" ; --------------------------------------------------------------------------- ; - - ; --------------------------------------------------------------------------- >>>
The only thing I can see different is the way the path to source is specified which I have tested and it does not make any difference. Any ideas? Darren
_________________________
I want to share something with you - the three sentences that will get you through life. Number 1, 'cover for me.' Number 2, 'oh, good idea, boss.' Number 3, 'it was like that when I got here'.
|
|
Top
|
|
|
|
#17260 - 2002-04-30 01:34 AM
Re: Standardised Desktops
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
Our script dircompare.kix has been updated.
- major fix: "deltree" problem. previously SHELL call doesn't remove directories.
- add: additional debugging information to screen.
- add: "deltree" command will not destroy screen layout.
greetings. btw: symbol on our homepage has been linked to related http://kixtart.org topic.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 1607 anonymous users online.
|
|
|