i have windows xp pro,
and i want the logon script -thru Group Policy- will run just at once and not after etc logon.
how can i do that?
EDIT:
====
in search i was found that:
CODE
if not exist %systemroot%\nameofile.txt (
some commands
another command
more commands
) > %systemroot%\nameofile.txt
some commands
another command
more commands
) > %systemroot%\nameofile.txt
which needed to be in the a batch file at logon script at Group Policy.
found here.
what it means:
CODE
some commands
another command
more commands
another command
more commands
?
EDIT:
====
solved.
i was put an example batch test file which include the lines:
CODE
if not exist %SYSTEMDRIVE%\text.txt (
copy f:\test.txt c:\test.txt
) > %SYSTEMDRIVE%\test.txt
copy f:\test.txt c:\test.txt
) > %SYSTEMDRIVE%\test.txt
which search if the file test.txt is not found on c:\.
if its found he does nothing.
if its not found it preform a copying command from to the text.txt file from f:\ to c:\