Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch Files - Re Posted from another Section  (Read 2516 times)

0 Members and 1 Guest are viewing this topic.

vidal

    Topic Starter


    Rookie

    Batch Files - Re Posted from another Section
    « on: August 20, 2008, 06:47:50 AM »
    I  have a Windows PC which cannot be connected to the internet.  I have installed Symantec Anti Virus 10.1.5.5000 and want to install VD updates which I have downloaded from another machine which can be connected to the internet.

    The new virus definitions are on a CD and I have written the following batch file to enable the files to be copied into the appropriate directory.

    copy x:\ *.* c:\Docume~1\alluse~1\applic~1\symantec\symant~1\7.5\

    (x= drive letter of CD drive)

    I want to pass the CD around 30 non-networked work stations whose users have restricted permissions. 

    I want to avoid manual transfer because it will mean that I have to log in myself to 30 workstations as administrator to do it.

    It doesn't work!  Any suggestions

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: Batch Files - Re Posted from another Section
    « Reply #1 on: August 20, 2008, 06:50:40 AM »
    I'm no expert but try this:

    copy x:\*.* "c:\Documents and Settings\Path to Dir\Symantec\Symantec\7.5\"

    I just edited your code so you can put the entire directory (instead of Docume~1)
    You may have to fix it up a bit.

    vidal

      Topic Starter


      Rookie

      Re: Batch Files - Re Posted from another Section
      « Reply #2 on: August 20, 2008, 07:28:51 AM »
      Thanks but after running batch file with amendment I get an incorrect syntax command message. :(

      Sidewinder



        Guru

        Thanked: 139
      • Experience: Familiar
      • OS: Windows 10
      Re: Batch Files - Re Posted from another Section
      « Reply #3 on: August 20, 2008, 07:54:22 AM »
      Quote
      copy x:\ *.* c:\Docume~1\alluse~1\applic~1\symantec\symant~1\7.5\

      Quote
      It doesn't work!

      The syntax for your command is correct. How does is not work? Error messages? Is the drive letter for the CD the same on all 30 machines?

      One solution would be to put the batch file on the CD, along with an autorun file. The user would simply insert the disk and wait for the magic to happen.

       8)
      The true sign of intelligence is not knowledge but imagination.

      -- Albert Einstein

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: Batch Files - Re Posted from another Section
      « Reply #4 on: August 20, 2008, 07:56:58 AM »
      I'm not sure, but do you think Windows is prevent you from accessing 'alluse~1's folder?

      EchoLdrWolf316



        Intermediate

      • Don't worry, Javascript is just Flash on speeeeed.
        Re: Batch Files - Re Posted from another Section
        « Reply #5 on: August 20, 2008, 08:46:22 AM »
        If it cant connect to the internet, why do you need anti-virus software?  ::)  :P Is it on a network?

        Carbon Dudeoxide

        • Global Moderator

        • Mastermind
        • Thanked: 169
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Experience: Guru
        • OS: Mac OS
        Re: Batch Files - Re Posted from another Section
        « Reply #6 on: August 20, 2008, 08:47:46 AM »
        You don't know who is going to be using the computers.....  ::)

        However, you have a point.  ???

        fireballs



          Apprentice

        • Code:Terminal
        • Thanked: 3
          Re: Batch Files - Re Posted from another Section
          « Reply #7 on: August 20, 2008, 08:49:00 AM »
          It's not difficult to read...

          Quote
          I want to pass the CD around 30 non-networked work stations whose users have restricted permissions.

          the user might bring in a virus on USB CD's etc...

          FB
          Next time google it.