Any ideas how to use the command ‘dir’ to more than 1 folder in one command?
dir c:\A | c:\test\B
is not working. Im not good with pipes…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the
Get-ChildItemcmdlet instead, or use DIR and separate your sources by commas, not spaces. DIR doesn’t work the same in PowerShell as it does in a DOS window.http://technet.microsoft.com/en-us/library/ee176841.aspx