You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
copy command
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.
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...
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...