PC Review


Reply
Thread Tools Rate Thread

How to code batch file?

 
 
Eric
Guest
Posts: n/a
 
      22nd Apr 2010
I need to consistently download patch on following web site, but the file
name keeps changing based on date, for example
http://definitions.symantec.com/defs...21-002-x86.exe
http://definitions.symantec.com/defs...dd-002-x86.exe

Does anyone have any suggestions on how to code a batch file to download the
patch based on specific date format? so I can set schedule task to run it.
Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric

 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a
 
      22nd Apr 2010


"Eric" <(E-Mail Removed)> wrote in message
news:CB9126DD-6B0C-408F-A4CB-(E-Mail Removed)...
> I need to consistently download patch on following web site, but the file
> name keeps changing based on date, for example
> http://definitions.symantec.com/defs...21-002-x86.exe
> http://definitions.symantec.com/defs...dd-002-x86.exe
>
> Does anyone have any suggestions on how to code a batch file to download
> the
> patch based on specific date format? so I can set schedule task to run it.
> Does anyone have any suggestions?
> Thanks in advance for any suggestions
> Eric
>


It depends on your regional settings. What exactly do you see when you type
this command at the Command Prompt:

echo %date%

 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      22nd Apr 2010
Eric wrote:
> I need to consistently download patch on following web site, but the
> file name keeps changing based on date, for example
> http://definitions.symantec.com/defs...21-002-x86.exe
> http://definitions.symantec.com/defs...dd-002-x86.exe
>
> Does anyone have any suggestions on how to code a batch file to
> download the patch based on specific date format? so I can set
> schedule task to run it. Does anyone have any suggestions?
> Thanks in advance for any suggestions
> Eric


Even if you ARE successful, you're asking for trouble. Yesterday McAfee
finally caught up to Symantec in the race to slow down computers.


 
Reply With Quote
 
Pegasus [MVP]
Guest
Posts: n/a
 
      22nd Apr 2010


"HeyBub" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Eric wrote:
>> I need to consistently download patch on following web site, but the
>> file name keeps changing based on date, for example
>> http://definitions.symantec.com/defs...21-002-x86.exe
>> http://definitions.symantec.com/defs...dd-002-x86.exe
>>
>> Does anyone have any suggestions on how to code a batch file to
>> download the patch based on specific date format? so I can set
>> schedule task to run it. Does anyone have any suggestions?
>> Thanks in advance for any suggestions
>> Eric

>
> Even if you ARE successful, you're asking for trouble. Yesterday McAfee
> finally caught up to Symantec in the race to slow down computers.


LOL!

 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      22nd Apr 2010


HeyBub wrote:

> Eric wrote:
>
>>I need to consistently download patch on following web site, but the
>>file name keeps changing based on date, for example
>>http://definitions.symantec.com/defs...21-002-x86.exe
>>http://definitions.symantec.com/defs...dd-002-x86.exe
>>
>>Does anyone have any suggestions on how to code a batch file to
>>download the patch based on specific date format? so I can set
>>schedule task to run it. Does anyone have any suggestions?
>>Thanks in advance for any suggestions
>>Eric

>
>
> Even if you ARE successful, you're asking for trouble. Yesterday McAfee
> finally caught up to Symantec in the race to slow down computers.
>
>


Slow, or KILL?

 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      22nd Apr 2010
In news:(E-Mail Removed),
Bob I <(E-Mail Removed)> typed:
> HeyBub wrote:
>
>> Eric wrote:
>>
>>> I need to consistently download patch on following web
>>> site, but the file name keeps changing based on date, for
>>> example
>>> http://definitions.symantec.com/defs...21-002-x86.exe
>>> http://definitions.symantec.com/defs...dd-002-x86.exe Does anyone
>>> have any suggestions on how to code a batch
>>> file to download the patch based on specific date format?
>>> so I can set schedule task to run it. Does anyone have
>>> any suggestions? Thanks in advance for any suggestions
>>> Eric

>>
>>
>> Even if you ARE successful, you're asking for trouble.
>> Yesterday McAfee finally caught up to Symantec in the race
>> to slow down computers.

>
> Slow, or KILL?


No slowdown at all here, reasonably small footprint, excellent speed.
Actually I noticed NO difference when NIS 2009 and now 2010 were installed.
I think you guys are behind the times. McAfee I don't know about; haven't
used them in years.


 
Reply With Quote
 
Sardine
Guest
Posts: n/a
 
      22nd Apr 2010
Twayne wrote:
> In news:(E-Mail Removed),
> Bob I <(E-Mail Removed)> typed:
>> HeyBub wrote:
>>
>>> Eric wrote:
>>>
>>>> I need to consistently download patch on following web
>>>> site, but the file name keeps changing based on date, for
>>>> example
>>>> http://definitions.symantec.com/defs...21-002-x86.exe
>>>> http://definitions.symantec.com/defs...dd-002-x86.exe Does anyone
>>>> have any suggestions on how to code a batch
>>>> file to download the patch based on specific date format?
>>>> so I can set schedule task to run it. Does anyone have
>>>> any suggestions? Thanks in advance for any suggestions
>>>> Eric
>>>
>>> Even if you ARE successful, you're asking for trouble.
>>> Yesterday McAfee finally caught up to Symantec in the race
>>> to slow down computers.

>> Slow, or KILL?

>
> No slowdown at all here, reasonably small footprint, excellent speed.
> Actually I noticed NO difference when NIS 2009 and now 2010 were installed.
> I think you guys are behind the times. McAfee I don't know about; haven't
> used them in years.
>
>


Twayne:

You are correct, NIS 2010 is so much better than the last several
products I've used. In fact, NIS 2010 is the only AV software that I
have ever used that works so well that I will buy it again when my year
ends. There are a few places where it can be purchased for a very low price.

The very worst AV I ever used was Bit Defender 2009. 2008 was fairly
good but 2009 required almost weekly removal and re-install, just to get
it to work. Their 2010 version (thankfully I didn't try) has recently
crashed a huge number of computers. It deleted thousands of files from
any computers running Windows 7/64.

Those posting here that bad mouth NIS 2009 or 2010 are showing their
age, NIS once was bloated but not now.

Sardine
 
Reply With Quote
 
Sardine
Guest
Posts: n/a
 
      22nd Apr 2010
WaIIy wrote:
> On Thu, 22 Apr 2010 12:27:53 -0600, Sardine <(E-Mail Removed)>
> wrote:
>
>> Twayne wrote:
>>> In news:(E-Mail Removed),
>>> Bob I <(E-Mail Removed)> typed:
>>>> HeyBub wrote:
>>>>
>>>>> Eric wrote:
>>>>>
>>>>>> I need to consistently download patch on following web
>>>>>> site, but the file name keeps changing based on date, for
>>>>>> example
>>>>>> http://definitions.symantec.com/defs...21-002-x86.exe
>>>>>> http://definitions.symantec.com/defs...dd-002-x86.exe Does anyone
>>>>>> have any suggestions on how to code a batch
>>>>>> file to download the patch based on specific date format?
>>>>>> so I can set schedule task to run it. Does anyone have
>>>>>> any suggestions? Thanks in advance for any suggestions
>>>>>> Eric
>>>>> Even if you ARE successful, you're asking for trouble.
>>>>> Yesterday McAfee finally caught up to Symantec in the race
>>>>> to slow down computers.
>>>> Slow, or KILL?
>>> No slowdown at all here, reasonably small footprint, excellent speed.
>>> Actually I noticed NO difference when NIS 2009 and now 2010 were installed.
>>> I think you guys are behind the times. McAfee I don't know about; haven't
>>> used them in years.
>>>
>>>

>> Twayne:
>>
>> You are correct, NIS 2010 is so much better than the last several
>> products I've used. In fact, NIS 2010 is the only AV software that I
>> have ever used that works so well that I will buy it again when my year
>> ends. There are a few places where it can be purchased for a very low price.
>>
>> The very worst AV I ever used was Bit Defender 2009. 2008 was fairly
>> good but 2009 required almost weekly removal and re-install, just to get
>> it to work. Their 2010 version (thankfully I didn't try) has recently
>> crashed a huge number of computers. It deleted thousands of files from
>> any computers running Windows 7/64.
>>
>> Those posting here that bad mouth NIS 2009 or 2010 are showing their
>> age, NIS once was bloated but not now.
>>
>> Sardine

>
> NIS is one bloated POS, many, many agree.


Wally:

What do you suggest as some of the best AV to use? What criteria do you
use to decide?

Thanks,

Sardine
 
Reply With Quote
 
Unknown
Guest
Posts: n/a
 
      22nd Apr 2010
Don't you think you are showing YOUR age by using NIS instead of WSE?
"Sardine" <(E-Mail Removed)> wrote in message
news:hqq4f8$7do$(E-Mail Removed)...
> Twayne wrote:
>> In news:(E-Mail Removed),
>> Bob I <(E-Mail Removed)> typed:
>>> HeyBub wrote:
>>>
>>>> Eric wrote:
>>>>
>>>>> I need to consistently download patch on following web
>>>>> site, but the file name keeps changing based on date, for
>>>>> example
>>>>> http://definitions.symantec.com/defs...21-002-x86.exe
>>>>> http://definitions.symantec.com/defs...dd-002-x86.exe Does anyone
>>>>> have any suggestions on how to code a batch
>>>>> file to download the patch based on specific date format?
>>>>> so I can set schedule task to run it. Does anyone have
>>>>> any suggestions? Thanks in advance for any suggestions
>>>>> Eric
>>>>
>>>> Even if you ARE successful, you're asking for trouble.
>>>> Yesterday McAfee finally caught up to Symantec in the race
>>>> to slow down computers.
>>> Slow, or KILL?

>>
>> No slowdown at all here, reasonably small footprint, excellent speed.
>> Actually I noticed NO difference when NIS 2009 and now 2010 were
>> installed. I think you guys are behind the times. McAfee I don't know
>> about; haven't used them in years.
>>
>>

>
> Twayne:
>
> You are correct, NIS 2010 is so much better than the last several products
> I've used. In fact, NIS 2010 is the only AV software that I have ever used
> that works so well that I will buy it again when my year ends. There are a
> few places where it can be purchased for a very low price.
>
> The very worst AV I ever used was Bit Defender 2009. 2008 was fairly good
> but 2009 required almost weekly removal and re-install, just to get it to
> work. Their 2010 version (thankfully I didn't try) has recently crashed a
> huge number of computers. It deleted thousands of files from any computers
> running Windows 7/64.
>
> Those posting here that bad mouth NIS 2009 or 2010 are showing their age,
> NIS once was bloated but not now.
>
> Sardine



 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      23rd Apr 2010
In news:(E-Mail Removed),
WaIIy <WaIIy@(nft).invalid> typed:
> On Thu, 22 Apr 2010 12:27:53 -0600, Sardine
> <(E-Mail Removed)> wrote:
>
>> Twayne wrote:
>>> In news:(E-Mail Removed),
>>> Bob I <(E-Mail Removed)> typed:
>>>> HeyBub wrote:
>>>>
>>>>> Eric wrote:
>>>>>
>>>>>> I need to consistently download patch on following web
>>>>>> site, but the file name keeps changing based on date,
>>>>>> for
>>>>>> example
>>>>>> http://definitions.symantec.com/defs...21-002-x86.exe
>>>>>> http://definitions.symantec.com/defs...dd-002-x86.exe
>>>>>> Does anyone have any suggestions on how to code a batch
>>>>>> file to download the patch based on specific date
>>>>>> format?
>>>>>> so I can set schedule task to run it. Does anyone have
>>>>>> any suggestions? Thanks in advance for any suggestions
>>>>>> Eric
>>>>>
>>>>> Even if you ARE successful, you're asking for trouble.
>>>>> Yesterday McAfee finally caught up to Symantec in the
>>>>> race to slow down computers.
>>>> Slow, or KILL?
>>>
>>> No slowdown at all here, reasonably small footprint,
>>> excellent speed. Actually I noticed NO difference when
>>> NIS 2009 and now 2010 were installed. I think you guys
>>> are behind the times. McAfee I don't know about; haven't
>>> used them in years.
>>>
>>>

>>
>> Twayne:
>>
>> You are correct, NIS 2010 is so much better than the last
>> several
>> products I've used. In fact, NIS 2010 is the only AV
>> software that I
>> have ever used that works so well that I will buy it again
>> when my year ends. There are a few places where it can be
>> purchased for a very low price.
>>
>> The very worst AV I ever used was Bit Defender 2009. 2008
>> was fairly
>> good but 2009 required almost weekly removal and
>> re-install, just to get
>> it to work. Their 2010 version (thankfully I didn't try)
>> has recently crashed a huge number of computers. It
>> deleted thousands of files from
>> any computers running Windows 7/64.
>>
>> Those posting here that bad mouth NIS 2009 or 2010 are
>> showing their
>> age, NIS once was bloated but not now.
>>
>> Sardine

>
> NIS is one bloated POS, many, many agree.


Many, many are ignorant of the last two year-titles of the product. That
often happens to closed minds. Come back when you know what you're talking
about.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to code batch file to hibernate XP with SP3? Eric Windows XP General 10 29th Apr 2010 05:21 PM
How to code a batch file? Eric Windows XP General 19 27th Mar 2010 02:57 PM
batch file to ftp code not running - please help! WhytheQ Microsoft Excel Programming 0 10th Feb 2010 05:55 PM
How to add code to shut down XP for batch file? Eric Windows XP General 9 5th Feb 2010 11:30 PM
Want to run a DOS batch file (.bat) From Excel VBA code Cazayoux Microsoft Excel Programming 1 31st Jul 2006 10:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.