Jump to content

Recommended Posts

Posted
I need a script that can be place in the "computer startup scripts" in Group Policies that will copy a file to the windows dir on startup if it does not exist, any help would be great.
Posted
I need a script that can be place in the "computer startup scripts" in Group Policies that will copy a file to the windows dir on startup if it does not exist, any help would be great.

 

Batch

 

If [NOT] EXIST filename command

do something

 

AutoIT

 

If FileExists("C:\autoexec.bat") Then

MsgBox(4096, "C:\autoexec.bat File", "Exists")

Else

MsgBox(4096,"C:\autoexec.bat File", "Does NOT exists")

EndIf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...