About this tag
The copy command in Windows is used to duplicate files from one location to another, often within batch files for automation. Common issues include access denied errors, especially when copying to system directories like C:\, which may require elevated administrator privileges. Users also encounter problems where the command works at an elevated command prompt but fails in a batch file run with admin rights, sometimes due to working directory differences or UAC settings. Troubleshooting typically involves verifying file paths, running the batch file as administrator, and checking permissions.
-
Strange Problem With Copy
I am trying to recover some data from an old Windows system. Specifically the contents of the Windows\users\Public directory. I tried the following: C:\Temp>dir c:\windows.old\users\Public\* Volume in drive C is Local Disk Volume Serial Number is 36C9-2D4D Directory of...- saberman
- Thread
- copy command robocopy windows command prompt windows old folder
- Replies: 1
- Forum: Windows Help and Support
-
Windows 7 Move Command in Batch Files
My colleges' computers reset themselves every night, so we are allowed to install programs and change files & settings at will, because the changes revert on shutdown. I'm trying to create a batch file I can run to copy all the files I use & install the programs I use, I haven't gotten to the...- bishop144
- Thread
- access denied automation batch file command line computer copy command file management programs scripting system settings tech support
- Replies: 7
- Forum: Windows Software
-
G
Windows 7 Copy to c:\ doesn't work with batch file
I have a little strange problem under Windows 7 x64 using the copy command at the command prompt. If I enter the following command at an elevated command prompt: copy somefile c:\ it copies the file somefile to c:\. Now when I create a batch file from this command and run it with admin...- Glip
- Thread
- access denied admin rights batch file command prompt copy command file management troubleshooting uac windows 7 x64
- Replies: 28
- Forum: Programming and Scripting