Skip to content
OnMSFT.com
  • Home
  • About
  • Contact
  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Edge
  • Teams
  • Gaming
Menu
  • Home
  • About
  • Contact
  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Edge
  • Teams
  • Gaming
  1. Home
  2. How-to
  3. How to copy files in Windows 10 or Windows 11 using Command prompt (Cmd) – onmsft.com

How to copy files in Windows 10 or Windows 11 using Command prompt (Cmd) – onmsft.com

kip@onmsft.com kip@onmsft.com
May 13, 2022
2 min read

Copying your files doesn’t have to be troublesome. But, if you’re a Cmd poweruser, you probably don’t like to deal with your PC with your mouse—you know, the usual GUI way. Thankfully, there’s a way out. You can also use the Command prompt for copying your files in Windows 10 or Windows 11. Here’s how.

How to copy your Windows files using Cmd

You can copy your files with Command prompt through different commands. Here’s how you can get started. Go to the Start menu search bar, type in ‘cmd,’ and select the best match. In the Command prompt, first move to the directory where you’ve saved your files. Once you’re in the directory, type in the following command and hit Enter:

copy myfile.txt c:\my\location

Here, copy is the command for copying your file, “myfile.txt” is the file that you want to copy, followed by “d:\my\location,” which denotes the place you would like to paste your files to.

Copying multiple files at a single go

If you’ve got a large number of files, however, then copying them one at a time is not really an attractive proposition—moving them at a single go is what you’re looking for instead.

You can rely on the xcopy command for this, and move around multiple directories at a single go. To run the xcopy command, enter the following syntax in the Cmd:

xcopy *.* /h NewFolder

In the example above, the Xcopy command copies all the files, including the hidden ones, from the current directory into the new directory.

Copying files in Windows 10 or Windows 11 using Command prompt

So now that you’ve successfully copied all your Windows files using Cmd, don’t forget to give other features of Command prompt a try.

Share This Post:

Share this article:
Tags:
cmd Windows 10 Windows 10 Howto Windows 11 Windows 11 How To
Previous Article Here is next week’s lineup for Xbox game releases – onmsft.com Next Article Microsoft celebrates the new Top Gun movie with custom Xbox and Microsoft Flight Sim DLC – onmsft.com

Related Articles

How to Fix the Phone Link App Not Working on Windows 11 – onmsft.com

December 29, 2022

5 easy ways to make desktop shortcuts on Windows 11 – onmsft.com

December 29, 2022

How to customize precision touchpads on Windows – onmsft.com

December 22, 2022

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • New Rowhammer Attacks Turn NVIDIA GPUs Into a System-Level Security Risk
  • Titan Army U275M could push gaming monitors to 1060Hz with dual-mode display
  • New Intel Leak Shows Bigger Nova Lake Desktop CPU with 44 Cores
  • NVIDIA Neural Rendering Reduces VRAM From 6.5GB to 970MB Without Losing Detail
  • H.264 Licensing Fees Rise to $4.5 Million for Streaming Platforms in 2026

Recent Comments

  1. XxRIVTYxX on Intel Says It Tried to Help Before Crimson Desert Dropped Arc Support
  2. Gaurav Kumar on Chrome Prepares Nudge to ‘Move Tabs to the Side’ as Vertical Tabs Near Release
OnMSFT.com

The Tech News Site

Categories

  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Gaming
  • Edge
  • Teams

Recent Posts

  • New Rowhammer Attacks Turn NVIDIA GPUs Into a System-Level Security Risk
  • Titan Army U275M could push gaming monitors to 1060Hz with dual-mode display
  • New Intel Leak Shows Bigger Nova Lake Desktop CPU with 44 Cores
  • NVIDIA Neural Rendering Reduces VRAM From 6.5GB to 970MB Without Losing Detail
  • H.264 Licensing Fees Rise to $4.5 Million for Streaming Platforms in 2026

Quick Links

  • About OnMSFT.com
  • Contact OnMSFT
  • Join Our Team
  • Privacy Policy
© 2010–2026 OnMSFT.com LLC. All rights reserved.
About OnMSFT.comContact OnMSFTPrivacy Policy