+ Post New Thread
Results 1 to 2 of 2
Scripts Thread, New to scripting, need help in Coding and Web Development; I need a script that can be place in the "computer startup scripts" in Group Policies that will copy a ...
  1. #1

    Join Date
    Jan 2008
    Posts
    38
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Smile New to scripting, need help

    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.

  2. #2

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    Quote Originally Posted by speckled View Post
    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

SHARE:
+ Post New Thread

Similar Threads

  1. AD Scripting Help needed
    By Grommit in forum Wireless Networks
    Replies: 2
    Last Post: 22nd October 2008, 08:05 PM
  2. os x scripting
    By mac_shinobi in forum Mac
    Replies: 5
    Last Post: 22nd August 2008, 09:30 AM
  3. Scripting and msi's
    By stu in forum How do you do....it?
    Replies: 5
    Last Post: 26th June 2008, 06:47 PM
  4. Printer Scripting
    By dave.81 in forum How do you do....it?
    Replies: 2
    Last Post: 23rd April 2008, 12:50 PM
  5. New to scripting
    By FN-GM in forum Scripts
    Replies: 26
    Last Post: 10th August 2007, 10:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •