New
#1
Batch/Command file to copy file to c:\windows\sysWOW64
Hi there,
I tried creating a batch file on a usb stick, but it could not copy files to a windows system folder.
I require administration run to execute this copy, but when i ran using administration, it doesn't know where to find the files on the usb stick.
The usb stick has the following 2 files. The usb stick changes drive letter depending whose pc it is running at.
1. At root .\README.txt
2. .\folderA\testfile.txt
In my batch file (textcopy.bat), the following script :
copy README.txt c:\windows\syswow64
copy ,\folderA\testfile.txt c:\windows\syswow64
Ideas?
The part i think it is missing when running as administrator is specifying the current location of the file.