1.

Solve : Batch Files - Re Posted from another Section?

Answer»

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 suggestionsI'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.Thanks but after running batch file with amendment I get an incorrect syntax command message. 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.

 I'm not sure, but do you think Windows is prevent you from accessing 'alluse~1's folder?If it cant connect to the internet, why do you need anti-virus software?    Is it on a network?You don't know who is GOING to be using the computers..... 

However, you have a point.  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


Discussion

No Comment Found