Hi , everyone
I have a question followed.
i want to move some pdf files to a directory . the ps command as follows:
gci . -force -Recurse -include *.pdf | Move-Item -Destination "E:\AllPdfFile" -Force | out-null
but , i haven't creat a directory named "AllPdfFile" . then che command's result is to create a file named AllPdfFile. what should i do to get my pdf files back ?
/////////////// command result ///////////////////
PS E:\> gci * -Include All*
directory: E:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 2012/2/18 22:56 78139946 AllPdfFile
/////////////////////////////////////////////////////////////
any one can help , thanks very much !