Robocopy /XD only applied to top level

Hi,
I have one file server (OldServer) with all my user home folders and I need to spilt these onto 4 seperate file servers
My plan is to put home folders begining with
A to D on server1
E to H on server2
I to O on server3
P to Z on server4
My script below would be used for "server1", it copies folders begining with A, B, C and D to the new location. But the issue is now that it also limits the sub folders. so subfolder \\OldServer\HomeFolder\BLOGGS\zzz does not get RoboCopied.
I need for the /XD command to only apply to the top level structure, and for all sub folder to copy
robocopy "OldServer\HomeFolder "Server1\HomeFolder" /MIR /COPY:DATSO /XD E* F* G* H* I* J* K* L* M* N* O* P* Q* R* S* T* U* V* w* X* Y* Z*
Any thoughts?
Thanks Tony

Hi Tony,
When you use /XD option to exclude directories that match the specified names and paths, the specified folders in subfolders are also excluded. I think you need to copy entire subfolder in the HomeFolder one by one or using the full path name to exculue directories.
Best Regards,
Mandy 
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • ICloud only synchs the top level of my bookmarks (IE Win 8.1)

    Many of my bookmarks are sorted into sub directories, they do not appear on my PC. However, the directories themselves do, and any bookmarks I make on the mac in Safari in the top directory DO show up in IE.
    I tried searching the forums but couldn't find a similar problem. I tried all Apple's iCloud troubleshooting tips, including reinstalling the control panel, but no change (i delete everything from the PC and the empty directories are copied back to my Favorites folder). I also disabled virus protection / windows defender for the Favorites folder, no change.
    I didn't see anything quite like this in the forums already - does anyone have any ideas?
    I am running Windows 8.1
    UPDATE: I just thought to try adding a bookmark in a subdirectory on windows and it DOES synch back to the mac. But still not mac -> PC.
    Message was edited by: rdyornot77

    Please don't tell me I'm the ONLY one with this problem!
    Anyone? If you don't know how to fix it, we could at least comiserate.

  • SMB file sharing with WinXP - only see the top level directory

    What is going on here, I can't see the files under sub-folders from OS X 10.3.9? I use admin id connect to WinXP share drive.

    ezhangin wrote:
    If I go in as guest all I see is the Public folder and if I log in as an admin account (such as myself) it shows the entire HD plus all the share points I had specified. This does not help me however as I want the shares to show up for everyone on the network (without logging in as me).
    Ignoring the obvious potential security issues, in the Sharing preference pane, it indicates that administrators can access all volumes. I don't have my Windows box running, but I just logged in from my other MBP. If I log in using a standard account, all I see are the public folders; however, when I log in to one of my admin accounts, I have access to the entire machine.
    I do recall having some issue with XP logging in as an admin on this MBP and not seeing anything but the shared folders, but with the other Leopard box, it works as expected.
    One caveat is that I cannot see any other user's folders, only those belonging to the user I am logged in as. But this is true even on the same machine - even an admin cannot casually browser another user's folders. They have red x's on them.
    I do not believe WINS is a problem in this case because the same issue shows up with AFP and SMB, but I appreciate the help.
    I agree it's not a WINS issue.
    Message was edited by: nerowolfe

  • How can i NOT include top level keyword in the metadata of an image?

    Hello,
    I want to know how can i NOT include top level keyword in the metadata of an image. I know there is an option for not applying a keyword to an exported image, but is there an option for not applying the top level keyword to the actual image?
    I have organized my geographical (by location) keywords like this:
    Places
    USA
    New York
    Miami
    Spain.
    If i add geographical keywords to all my images, all my images will have the keyword "Places", i dont think that it have any sence to have all your images with one keyword. How can i fix this? Any sugestion? i will appreciate it a lot any help or information that you could give me.
    Excuse my english, i know it is not good. I hope that you could understand me.
    Thanks,
    Marcelo :)

    Explicitly excluding a keyword only applies when "exporting". Unfortunately, there's currently no way to stop the keyword being written to the file when "Save Metadata to File" command is used. The natural reaction of users to this difference is to suggest that it is stupid. Nevertheless, there are good reasons why the difference exists:
    1. "Export" creates a new file whereas "Save Metadata to File" writes the metadata back into the existing file.
    2. There are very good reasons why certain keywords should not be written to file, and the example given in the OP is one. Saving metadata to file is more often used as means of backing up important image related metadata, independently of the catalog or allowing the metadata to be visible in other aplications. It would be rare that such a file would be shared with a third party, so the reason for not including certain keywords is less obvious. Actually, not including it can result in no end of confusion and grief. For example, if the top level (or any keyword) was excluded during the save metadata process then the other keywords would be orphaned when image is imported back into the catalog (e.g. buiding a new catalog).
    The development team are aware of the need, in some circumstances, to exclude certain keywords when save metadata command is used. How and when the issue is resolved, without adding even more confusion/complexity, is some way off.

  • 0CO_PC_PCP_03 Cost Estimate Itemizations at the top level

    We are wanting to use extractor 0CO_PC_PCP_03 to extract the itemisation behind a cost estimate (The data in table CKIS). The issue with the extractor is that it breaks a multilevel BOM  down to the basic levels (ie, itemisation explosion). However we want to have the data at the  top level as it is displayed in a cost estimate itemisation. Is it possible to get this extractor to only extract the top level of the itemisation without further explosion of detail.
    Thanks
    Geoff ARmstrong

    I have the same problem now.
    I plan to create a generic datasource and extractor is a function module which is originated from KKBW_PCP_ITEMS_GET_ITEMIZATION.
    Do you have got a better way now?

  • Possible to Have ToC Default to Show Only Top Level (collapse sublevels)?

    Howdy!
    I'll bet I'm not the only one wishing for this.  Let's say you're using Captivate 4's Table of Contents feature with a longish movie of Cp slides, which is chunked into bite-size sections content-wise.  In the ToC, though, you can't mimic that same organization scheme; at least, the learner would first need to collapse all the ToC folders you've created so they see only the top-level listing.
    This can be a critical issue:  keeping the at-first-glance list in the ToC brief enough to be inviting to learners, yet allowing learners to drive which details are currently visible.
    A movie's topical hierarchy could be along these lines, for example ...
    Section 1 - National Brands
    What are National Brands?
    Why Are They Important to Our Business?
    Working with Nat. Brands
    Practice Your Knowledge
    Section 2 - International Brands
    What are International Brands?
    Why Are They Important to Our Business?
    Working with Intl. Brands
    Practice Your Knowledge
    You'd like to organize the ToC to show only the section titles (1st level) and to suppress the 2nd-level detail (slide titles) until the learner chooses to expand the folder to see those details.
    I've tried things like grouping the slides into sections in the Storyboard view and organizing the slides into sections strictly within the ToC -- both to no avail.
    Has anyone solved for this need yet?
    I'm all ears, and you'd be doing learners of the world a huge favor.
    Thanks!

    Hi, Jim.
    Thanks for being 'on the case' and looking into this so quickly.  Your
    findings are encouraging, although my user base is generally working with
    IE 6 and FP8 or 9.
    Since the only thing I may influence is getting  IT to help push out FP10,
    I'm hoping it's more of a player- than a browser-version issue.
    I'll test things out by Monday and let you know the results.  Wish me luck!
    Dave
                                                                                    From:       Jim Leichliter <[email protected]>                                                                               
    To:         Dave Tressler <[email protected]>                                                                               
    Date:       03/26/2010 06:02 PM                                                                               
    Subject:    Possible to Have ToC Default to Show Only Top Level (collapse
                  sublevels)?                                                                                
    Dave,
    I just tested this on my local web server and it worked fine.  I created a
    blank project with 8 slides.  Created my TOC with grouping... 2 slides in
    each group.  I turned on self paced learning.  I tried with and without the
    widget and it picked up where I left off in either case.  See
    https://docs.google.com/leaf?id=0B86WuEq6SVwRNWIwMjhjODctMjE2Yy00MWE2LWI5YzEtMGQxYzNjOWQ0Z mI2&hl=en. 
    I published using FP10 and IE8 to view.  Notice any difference between
    your project and this one?
    Thanks,
    Jim Leichliter

  • How to make the report shows only top level steps

    HI,
    I use many subsequences in my tests.  I have no interest to see them in the report.  How can I force the report to show only top level steps?
    Thanks
    Rafi

    I needed to prevent 'Skipped' steps from appearing in my reports.  One way to do this is to override the SequenceFilePostResultListEntry callback in the model.  You do this by clicking on Edit and then Sequence File Callbacks and then find SequenceFilePostResultListEntry in the list and click the Add button.
    Edit your new callback in your sequence file to check for a pre-condition.  In my case I checked for Parameters.Result.Status == "Skipped" since that parameter is set to Skipped, Done, etc. based on the result.
    If the condition was true then my only step in the callback was to set Parameters.DiscardResults = True.  The TestStand model will then throw that result away when it processes the report.  You could add a step for every type of data you wish to discard.
    A second method that is easier to implement, but time consuming, is to select each step you DON'T want in your report and bring up the Properties for that step.  Under the Run Options tab, deselect the Record Results box.  That will keep the results of that step out of the report, but you have to do this for EVERY step you don't want to have reported.  The first approach I provided acts to filter the results.
    If you aren't sure what the Parameters.Result.Status will be, then set a breakpoint after that step is executed and scan the parameters when the sequence is halted there.  You can then detect the actual text used as a result for that step, such as "Done" and can set your pre-condition appropriately.

  • Hide Top level navigation if user assigned only one role

    Hi,
    I would like to hide the top level navigation if user assigned with only one role.
    I can create role based rule to show desktop using Master rule collection, but is it possible by doing to with role count.
    If user has multiple roles show desktop1 else show desktop2

    not sure if this possible ,you may check feasibility of creating  a application which checks user role count and if role count is = 1 load the Portal url (URL alais) which had TLN iview invisible in the same window else do nothing and load the portal with the desktop which has tln.
    Put the application in framewrk page which has TLN visible.
    create a URL alias and create a desktop -framework page which dont have TLN ,assign this desktop to this URL alias in rule collection set its priority before user conditions check in rule collection so that it has high priority before user or group check in rule collection.
    you can create a poc in sandbox and check if it wiorks?

  • Budget Control at top level WBS only

    Hello All,
    I have a requirement from client where I need to activate the Budget control (90% warning and 100% error). I have done the setting accordingly.
    Now the scenario is such that when client is doing budgeting, they are allocating the budget only at top level WBS (they have a different legacy, where they are doing there detail planning n budgeting, but since they want the feature of budget control in PS, they will do minimal budgeting in PS). As per my settings when I budget top level WBS and save the availabity control is activated (with no budget on lower level WBS). Now when I try to do some postings/or assign that WBS to PO, even with a value of 1 USD, i am getting an error of budget exceeded, which is fine as per the settings as that WBS is having 0 budget.
    The requirement from client side is such that they want AVAC to be activated only at top WBS and do postings to lower WBS. But if the total of lower WBS exceed the budget of top WBS, they should get an warning or error. For example:
    WBS level  BUDGET ACTUALS
      1               100
      2                              50
      2                              50
    so as soon as the actuals touch 100, the system should give an error/warning. Note that the 2nd level WBS are not budgeted in SAP, so budget is 0 on them.
    I have 2 questions:
    1.Is it possible to activate AVAC only for top WBS ?(without any enhancement/development)
    2.How the AVAC will work, if the total of 2nd level WBS exceeds the budget of top WBS (as explained in example above)?
    Awating your replies.
    Thanks
    Sarang

    Thanks Virendra, it was useful.
    I tried other way round also i.e. by not marking the release tab in OPS9 and activating AVAC in CJ30.It works in that way too.
    For my other question, regarding activating AVAC only at top level, we can achiebve that by using transaction control in user status.
    Thanks
    Sarang

  • Only one top level element is allowed in an XML document. Line 2, Position 2

    I get this error when I try to run an xsql query with a where clause:
    Only one top level element is allowed in an XML document. Line 2, Position 2
    <font size='-1' face='monospace'>XSQL-005: XSQL page is not well-formed.</font><BR>
    -^
    Here is the xsql query I tried to use.
    <?xml version="1.0"?>
    <xsql:query connection="xmlbook" xmlns:xsql="urn:oracle-xsql">
    select * from companytable where companynumber < 1000;
    </xsql:query>
    null

    You need to escape certain characters in order to make XML documents well formed. The problem in this case is the less than sign between companynumber and 1000. You should replace it with <
    I recommend reading a good XML book - "Building Oracle XML Applications" by Steve Muench, for instance.
    Brian

  • XML Error: Only segments are allowed on top level,found non-segment E1EDK03

    Hi,
    I have a problem in my senario of receiving XML files with a Business Connector (4.7), adding some data to certain segments and elements, do some mapping steps and then convert the XML file to SAP IDoc. Then the IDoc should be send to R/3 system via ALE.
    The senario works so far, if I test it with the "Send XML file.." option in the menu "Test" of the Business Connectior itself.
    If I try to send the XML data as string in my browser the following error always occurs:
    $localizedError:
    com.wm.lang.xml.WMDocumentException: Invalid IDocXML document: Only segments are allowed on top level, found non-segment E1EDK03
    $errorType:
    com.wm.util.coder.InvalidDatatypeException
    If I send send a string containing the XML data incl. the data I actually wanted to add in a flow step, it works.
    Can anybody help me?
    Thanks,
    Kai
    Message was edited by: Kai Lerch-Baier

    I had been using MC Internet Explorer until this . Have compared this one to functioning XML viewable with MS Internet explorer. Below is code I am using trying to resolve this problem.
    <?xml version="1.0"?>
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
    <tt:root name="ecrtas"/>
    <tt:template>
    <tt:loop ref="ecrtas">
    <ImportInstructions>
    <ProjectSponsorInstruction>
      <Instruction mode="Add">
       <SponsorName tt:value-ref="SPONME"/>
       <SponsorNumber>
         <IdValue name="Sponsor Number"><tt:value ref="SPONSOR"/></IdValue>
         </SponsorNumber>
        <SponsorType tt:value-ref="SPONTYP"/>
      </Instruction>
    </ProjectSponsorInstruction>
    </ImportInstructions>
    </tt:loop>
    </tt:template>
    </tt:transform>
    Thank you again

  • How to make spry menubar top level only appear for browsers with java turned off

    I was under the impression that just the top level of the horizontal spry menubar appears when someone with Java turned off views it...now I see that the entire unordered list appears vertically and takes up the whole page....is there a way to make just the top level menubar items appear when java is turned off in viewers browser?
    Thank you in advance for any insight you can provide.
    Lois

    When you disable Javascript in your browser...and it is Javascript not Java... if your menubar is properly constructed, the submenus do not appear, only the top level menu items.
    It sounds to me as if you are turning off style rendering in Dreamweaver itself, or have not properly linked your CSS stylesheet to your page.
    When CSS is linked properly, the submenus are "hidden" with left: -10000px; (a BIG distance) offscreen to the left of the Viewport. They stay there unless Javascript is turned on. It is Javascript that "calls them back" onto the Viewport.
    Give me a link, Lois, and I'll check into your page for you...
    Beth

  • I have to print two labels using single XML file.Error:Only one top level e

    Hi,
    I have to print two labels using single XML file. But its giving error:
    [Error] Error -1072896683 - Line: 38 Pos: 2 Error: Only one top level element is allowed in an XML document.
    Below is my XMl file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE labels SYSTEM "label.dtd">
    <labels FORMAT="lib://FRD/PurchasedDoor.btw"  PRINTERNAME="IBM 6700-R80 (300 dpi)" _QUANTITY="1">
    <label>
    <variable name= "Color">AUTUMN</variable>
    <variable name= "Special_Message_Attribute">MSG*</variable>
    <variable name= "Special_Message">This is special Message Label</variable>
    <variable name= "Model"></variable>
    <variable name= "Build_Date">09-APR-12</variable>
    <variable name= "Assy_Cart"></variable>
    <variable name= "Assy_Slot"></variable>
    <variable name= "Finish_Cart"></variable>
    <variable name= "Finish_Slot"></variable>
    <variable name= "Serial_Number">1945.1.1.2-1</variable>
    <variable name= "Serial_Number_Barcode">1945.1.1.2-1</variable>
    <variable name= "Specie">BIRCH</variable>
    <variable name= "Truck_Group"></variable>
    <variable name= "Label_Sequence_No">1</variable>
    <variable name= "WIP_Cart"></variable>
    <variable name= "WIP_Slot"></variable>
    <variable name= "Cabinet_Sequence_No">110</variable>
    <variable name= "JC"></variable>
    <variable name= "Thickness"> </variable>
    <variable name= "Width"> </variable>
    <variable name= "Length"> </variable>
    <variable name= "Overlay"></variable>
    <variable name= "Options">B30</variable>
    <variable name= "Profile_No"></variable>
    <variable name= "Door_Style">NEWBERRY</variable>
    <variable name= "Glaze"></variable>
    <variable name= "Shape"></variable>
    <variable name= "Glass"></variable>
    <variable name= "Hinge_Side"></variable>
    <variable name= "Hinge_Type"></variable>
    <variable name= "EGE"></variable>
    </label>
    <labels FORMAT="lib://FRD/SpecialMessage.btw"  PRINTERNAME="IBM 6700-R80 (300 dpi)" _QUANTITY="1">
    <label>
    <variable name= "Serial_Number">1945.1.1.2-1</variable>
    <variable name= "Special_Message">This is special Message Label</variable>
    <variable name= "Cabinet_Sequence_No">110</variable>
    </label>
    </labels>
    Please suggest.

    >
    XML can only have one root element per file.
    >
    from XML Document: The Root Element

  • How to release top-level VI (only) source code?

    Hello,
    I am developing an addon to an application I already have. The application is large (over 1,500 VI's) and the VIs are set up to compile with mostly default settings (there's a top-level VI, a few with Front Panel visible, most of them are not visible).
    The customer wants the source code to the work I'm going to do, and it's going to use many existing sub-VI's. The addon itself will be a sub-VI (I have a Main.vi that basically opens 'screens', and this is a new screen). The existing sub-VI's basically do the data collection and processing, and the new code will do some additional processing and have a nice GUI to the existing code. The customer wants the source so they can make modifications as needed.
    Is there any easy way to provide just the source for the top-level VI? Basically, I want to give them M.vi, where M.vi calls n.vi, o.vi... etc, but o-z.vi need to remain closed-source. Also, M.vi is called by Main.vi, which opens screens A-M.vi
    One option is do copy the entire application, then open every sub-VI and save it without Source Code. But with so many files, this seems like a bad idea. I also then have to maintain two applications.
    Any good ideas out there? It seems so easy in other languages (use object files) that it seems like there should be a solution here I'm not seeing.... Thanks!
    Message Edited by rnelsonee on 06-02-2010 08:28 AM
    Message Edited by rnelsonee on 06-02-2010 08:31 AM
    Solved!
    Go to Solution.

    Dont know if this is the best solution for you, but you can create a "virtual folder" in the LabVIEW project with all the sub-VIs that you want to keep closed-source. Then create Source Distribution build specifications in the project and remove the block diagrams assign passwords to all VIs in the virtual folder. See attached pics.
    Attachments:
    Project.JPG ‏23 KB
    SrcDist.JPG ‏62 KB

  • How do I place a menu into a top level page which only reflects that pages child pages?

    I need to create a menu for the child pages which come off from one of my top level pages. Can someone help please. 

    There isn't a setting that automatically does this but you can change the menu to 'manual' and enter the page names and links manually.

Maybe you are looking for

  • No wide screen resolution option

    i just connected my imac to a external display(HD TV) useing a vga cable. the only problem i have is that the resolution wont go high enough to tvs native resolution and ratio. i need a wide screen ratio but the only option i get in the dispay settin

  • Need a formula to calulate multiple cells and add the sum total to a cell in a other table

    Im a chef and my monthly inventory is a time consuming task. I get invoices from multiple suppliers on each day of the week. I enter them into a spread sheet and then need to add the sum total for all the invoices for say MONDAY. That total needs to

  • K Keywords not showing up in compiled help index

    I have created a help project with one document. Each topic has been checked to add it to the index. Saved and compiled the help. Some words appear on the index, while others do not. I go into the index designer, and I can see all the missing words.

  • Why on my screen is the text not all showing, it is overlapped by other txt or graphics?

    on some windows the graphics are out of place and over lap text, in other cases text overlaps text as if the entire page is not showing as it should, it makes reading the window, page impossible.

  • Jax-rpc WebServices

    I've built a test webservices with NetBeans 5.0 on Sun AS8.2, and the ws works fine from Java clients and Windows client (developed in Delphi). When I register the WebServices WSDL in APEX the wizard works and the registration procedure go to end wit