Insert a group of 5 files and one folder into every subfolder

Page 2 of 2 FirstFirst 12

  1. Posts : 1,614
    Windows 10 Home

    Berton said:
    So are you saying I can't use that signature?
    Of course you and anyone else can! I was just giving you the sources that you can add to your good signature :) Knowing the book title would bring a smile to your face.
      My Computer

  2. Posts : 958
    Microsoft Windows 10 Home

    Try editing the paths & running the following PowerShell. If the the echoed copy commands look right, remove the -whatif parameter from the Copy-Item statement.

    $Subject = 'c:\subject'
    $test    = 'c:\test\*'
    gci $subject -Directory -Recurse | select -expand Fullname | 
       %{Copy-Item $Test $_ -Recurse -whatif}
    Last edited by KeithM; 29 Oct 2019 at 17:14.
      My Computer

  3. Posts : 228
    Win 10 Ver 1903
    Thread Starter

    PS Try3 Thanks for all the time you spent on that code. I did save it and will be sure to run all modes even if only to know how to do what it does.

    My REAL problem was (and still is) properly editing a website path to get a folder to accept a special style.css and index.php on every level of the files inside one specific folder in the website.

    Also to Keith. I finally just did it the hard way and made several test runs for the website. It does work properly IF i insert a copy of the special index.php and style.css at every sublevel in the documents folder. Now that i know that works, i have to learn how to set those files to be used from within the site instead of physically being placed at every level.
      My Computer


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:09.
Find Us

Windows 10 Forums