WIndows command line to copy files [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am able to copy files and all its subdirectories using this command line in cmd
xcopy /s c:\users\desktop f:\desktopFiles
However, I don't want to copy media files like mp3 or mp4. Is there a command line for that. Thanks!

Create file with the extensions you don't want to copy, i.e.:
excludedExtensions.txt
.mp4\
.mp3\
Then you can use:
xcopy /s /exclude:excludedExtensions.txt c:\users\desktop f:\desktopFiles
You can read more about xcopy exclude here

Related

copy file in command prompt with Arabic file name [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How can I copy a file with Arabic characters in the name via the command prompt?
I tried this:
copy C:\توزيع العمل.doc D:\توزيع العمل.doc
It didn't work. What I can do to solve this problem? Thank you.
Wrap file path to quotes. Like this "C:\توزيع العمل.doc".
So final command will look like.
copy "C:\توزيع العمل.doc" "D:\توزيع العمل.doc"

How to list files in windows using command prompt (cmd). I've tried using ' ls ' as in Linux but it shows an error? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
When I tried to use list ls on a Windows command prompt, the system doesn't recognize it. I already added C:\Windows\System32 in the path.
Use the command dir to list all the directories and files in a directory; ls is a unix command.

Windows Attrib - How to made ALL files on a drive read/write - visible [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a drive with some hidden, some readonly files.. how can I make ALL the files in ALL directories - visible and read/write using the attrib command or windows 10 comannds?
attrib /s /d -s -h -r d:\*.*
should accomplish that task. d:\ being the start directory.
The /d should process directories in addition to files.

How can I delete a "infinite" folder? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I was doing a program in Java and I've created, recursively, a folder that has a folder in, and so on.
I've tried to delete it but Window says it can't be deleted because is too big.
How can I delete it? Already tried rmdir /s /q and nothing.
Need Help.
\\?\ turns off file name checks.
rmdir /s /q "\\?\c:\somefolder\somefile.ext"
For explanation, see What does \?\ mean when prepended to a file path, which points to Naming Files, Paths, and Namespaces (MSDN).
You could boot from an Ubuntu Live CD/DVD and delete the folder. The command would be:
rm -rf myBigFolder

How to delete all files by a specific name? CryptoWall trojan [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
How can I delete all file that by this name: HELP_DECRYPT.url
On internet there is a way but it doesn't work. That solution is this: in cmd del /s HELP_DECRYPT.url
I find the solution: in cmd
del /s \aaaaa.*
aaaa is the name
* for any extension

Resources