385 pts.
 PowerShell and CMD
I need a little and fast help in some commands in cmd and PowerShell: copy, delete, list processes, list services, show connected computers, users, shared folder.

Software/Hardware used:
SOFT-CMD
ASKED: October 20, 2012  8:34 AM
UPDATED: October 21, 2012  10:55 PM

Answer Wiki:
So, what is your question? If you are trying to copy files here is a script that will do it if the file paths already exist. This script is provided as is and with no warranty. $path = "path to source files" $path1 = "path to destination" $files = ls $path  foreach($file in $files) { copy-Item $path$file  $path1$file if you need anything else Powershell relatd let me know: colin@dbyay.com
Last Wiki Answer Submitted:  February 11, 2013  5:12 pm  by  Colin Smith   845 pts.
All Answer Wiki Contributors:  Colin Smith   845 pts. , BobBeechey   750 pts. , Ben Rubenstein   2,060 pts. , secOfficer   385 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

i have tried the COPY command many times,but it did not work…I NEED TO DO A COPY FROM THE DRIVE C TO ANOTHER DRIVE D ?

 385 pts.

 

And what did the COPY command look like? And what happened? Was there an error message? If there was, what was the message? — Tom

 107,915 pts.