Hi,
MTechG schrieb:
Only Inside the script, not by GPO.
The Idea: Ask for the existence of an object, if it exist, do nothing,
if it not exist, run your command and create this object in the end.
The next run will find it and so do nothing ...
if not exist %systemroot%\nameofile.txt (
some commands
another command
more commands
) > %systemroot%\nameofile.txt
Mark
--
Mark Heitbrink - MVP Windows Server - Group Policy
Homepage:
www.gruppenrichtlinien.de - deutsch
Blog: gpupdate.spaces.live.com - english