troubleshooting Question

I have written a srcipt

Avatar of Alex-Kay
Alex-KayFlag for United Kingdom of Great Britain and Northern Ireland asked on
Windows XPWindows Server 2003Active Directory
24 Comments1 Solution279 ViewsLast Modified:
Good Afternoon,

I have written a script to clear the desktop of anything that we do not want on there (the company has a clear "desktop" policy)
however I have come to a blank point.

Could you please look at it give me suggestions on where to go next?

your help is much appreciated
set D=%date%
set D=%D:/=.%
set T=%time%
set T=%T::=.%
mkdir "%userprofile%\my documents\Desktop Backup\%D%\"
mkdir "%userprofile%\my documents\Desktop Backup\%D%\%T%\"
xcopy "%userprofile%\desktop\*.*" "%userprofile%\my documents\Desktop Backup\%D%\%T%\" /EXCLUDE:C:\exclude.txt /E /C /Y
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 24 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 24 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros