A command window in WinXP Pro given the instructions:
dir D:\*somestring* /S | move C:\somedirectory
What would happen to the files found by dir in the D drive?
The idea was to find all files in D with "somestring" in the name and move them all collectively to the directory in C drive. The result was that the directory in C vanished (complete with all contents) to never-neverland. So, obviously this was not the correct way to pipe the results of the search to the move command.
What would be the right way?