Re: [foxboro] <EXT>Re: blow2.2

  • From: Timothy Lowell <Tim.Lowell@xxxxxxxxxxxxxxxxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Fri, 2 Dec 2016 11:59:49 -0600

Sorry about the previous posts, my iPhone apparently doesn't work on the list 
any more...

Chad,

I like that idea. It makes it easier than Blow to only copy the files you need 
to copy.

If you have dozens of WP's, and you can't / don't want to map a drive to each, 
you can use the \\servername\ia nomenclature with xcopy and it should work (I 
haven't tested it but that's what Blow does). IA automatically creates that 
share for the D: drive as it loads on each workstation. "Servername" in this 
case is the secondary network servername or IP address, not the letterbug. If 
you use the letterbug, xcopy will copy files using the Mesh, and you don't want 
to do that since it will possibly interfere with control network traffic.

So, instead of
xcopy "D:\usr\bev\*.fdf" "G:\usr\bev\" /d:%DATE:~4% /e /y /i

You can do

xcopy "D:\usr\bev\*.fdf" "\\servername\ia\usr\bev" /d:%DATE:~4% /e /y /i

(You may need to remove the quotes in the \\servername part, not sure)

For each WP in your system. Using the \\servername may be part of the reason 
Blow runs slower on Server 2008, so you might see slowness with this method. I 
don't have access to a system where I can test this at the moment.

Tim Lowell
Schneider Electric | 210-439-5914 (cell)
________________________________________
From: foxboro-bounce@xxxxxxxxxxxxx [foxboro-bounce@xxxxxxxxxxxxx] On Behalf Of 
Chad Ziesemer [cziesemer@xxxxxxxxxxxxxxxxxxx]
Sent: Friday, December 02, 2016 8:35 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] <EXT>Re: blow2.2

I made a simple script using xcopy to copy any graphics modified on the current 
date, set it up as a desktop shortcut so we can just double click when we're 
done making graphic edits, and also as a scheduled task running each night at 
11:50pm for the ones I forget to copy.
For anyone new to scripts like me, copy the text below to notepad, edit for 
your drive names and folder locations, and save as a .bat file.  Double click 
to run.

REM This script copies all foxview graphics edited today from the D: drive to 
all other WP's
REM It is intended to be used by either the engineer manually running the 
script after completing work
REM or run as an auto scheduled task overnight.
REM It copies all files and subdirectories in the directories listed below.
REM CDZ 4/21/16

REM Force reconnection to all network drives
start explorer 
/e,/select,g:\usr,i:\usr,j:\usr,k:\usr,l:\usr,n:\usr,o:\usr,p:\usr

REM Copy files

xcopy "D:\usr\bev\*.fdf" "G:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "I:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "J:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "K:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "L:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "N:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "O:\usr\bev\" /d:%DATE:~4% /e /y /i
xcopy "D:\usr\bev\*.fdf" "P:\usr\bev\" /d:%DATE:~4% /e /y /i
(Add more network drive locations here)

(repeat for all file locations you want to copy)


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person.
 
 
_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company).  Use the info you obtain here at your own
risks.  See the disclaimer at www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:               //www.freelists.org/list/foxboro
to subscribe:           mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:        mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: