|
|
|
date: Mon, 15 Jun 2009 13:11:54 +0100,
group: uk.tech.tv.sky
back
ot: can we write batch files in vista
Is it possible to write batch files like we did in DOS in vista eg I want to
copy all the files from 1 directory to another on a regular basis, How can I
do this with I click.
Any info would be great thanks in advance
Gary
--
This email is Private and Confidential
This e-mail has been virus checked by Mcafee Virus Scan.
Telephone calls may be recorded for quality assurance and security purposes.
Shopping -- get your hit @ www.asmailorder.co.uk www.asmailorder.com
date: Mon, 15 Jun 2009 13:11:54 +0100
author: Gary
|
Re: can we write batch files in vista
sorry I just had to think about it and I realized I was silly posting this
question
"Gary" wrote in message
news:9UqZl.12046$7O1.9187@newsfe06.ams2...
> Is it possible to write batch files like we did in DOS in vista eg I want
> to copy all the files from 1 directory to another on a regular basis, How
> can I do this with I click.
>
> Any info would be great thanks in advance
>
> Gary
>
> --
> This email is Private and Confidential
> This e-mail has been virus checked by Mcafee Virus Scan.
> Telephone calls may be recorded for quality assurance and security
> purposes.
> Shopping -- get your hit @ www.asmailorder.co.uk www.asmailorder.com
date: Mon, 15 Jun 2009 13:22:41 +0100
author: Gary
|
Re: can we write batch files in vista
"Gary" wrote in message
news:9UqZl.12046$7O1.9187@newsfe06.ams2...
> Is it possible to write batch files like we did in DOS in vista eg I want
> to copy all the files from 1 directory to another on a regular basis, How
> can I do this with I click.
>
> Any info would be great thanks in advance
Wrong group but googling "batch files in vista" returns what looks like some
useful links.
date: Mon, 15 Jun 2009 21:20:38 +0100
author: Beck
|
Re: ot: can we write batch files in vista
On Mon, 15 Jun 2009 13:11:54 +0100, "Gary"
wrote:
> Is it possible to write batch files like we did in DOS in vista eg I want to
> copy all the files from 1 directory to another on a regular basis, How can I
> do this with I click.
If it's regular set it as a scheduled task and then no clicks.
> Any info would be great thanks in advance
Ask here: alt.msdos.batch.nt
Tony
date: Mon, 15 Jun 2009 21:52:49 +0100
author: Anthony R. Gold
|
Re: can we write batch files in vista
"Gary" wrote in message
news:9UqZl.12046$7O1.9187@newsfe06.ams2...
> Is it possible to write batch files like we did in DOS in vista eg I want
> to copy all the files from 1 directory to another on a regular basis, How
> can I do this with I click.
>
> Any info would be great thanks in advance
>
> Gary
>
> --
> This email is Private and Confidential
> This e-mail has been virus checked by Mcafee Virus Scan.
> Telephone calls may be recorded for quality assurance and security
> purposes.
> Shopping -- get your hit @ www.asmailorder.co.uk www.asmailorder.com
This is what I use (as a batch.cmd file):
set server=servername
set local=localcomputername
rem xcopy \\%local%\c$\data\inetpub\wwwroot\xxxxxx_2008
\\%server%\k$\data_backup\mxxxx0\data\inetpub\wwwroot\xxxxxxx_2008 /y /d /s
/c /h
robocopy \\%local%\c$\data\inetpub\wwwroot\xxxxxxx_2008
\\%server%\k$\data_backup\mxxxx0\data\inetpub\wwwroot\xxxxxx_2008 /S /XO
/R:0
"C:\Program Files\resource kits\nt4reskit\sleep" 30
robocopy \\%local%\c$\data\user \\%server%\k$\data_backup\mxxxx0\data\user
/S /XO /R:0
You'll have Xcopy as part of "DOS"/Windows. Robocopy is more of the same
without Microsoft's bugs in it. *
* How can MS release Vista with an Xcopy command that can't cope with more
than 256 of characters in the path. Fucktards.
date: Tue, 16 Jun 2009 16:41:31 +0100
author: Light of Aria
|
|
|