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:
if not exist %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:
some commands another command more commands
?
EDIT:
====
solved.
i was put an example batch test file which include the lines:
if not exist %SYSTEMDRIVE%\text.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:\
This post has been edited by RAMI7250: 01 August 2008 - 08:49 AM



Help
Back to top








