+ Reply to Thread
Results 1 to 3 of 3

Copy File Windows 7

  1. #1
    Registered User
    Join Date
    03-14-2012
    Location
    wwr
    MS-Off Ver
    Excel 2010
    Posts
    16

    Copy File Windows 7

    Dear All

    I am using FileCopy vba function to copy some files to C:\windows

    As per default settings of Windows 7, C:\windows is a protected folder due to which I am unable to copy the files.

    My function is working file to copy files to any other unprotected folder such as d:\ABC\

    How to achieve copying files to c:\windows folder ?

  2. #2
    Forum Contributor
    Join Date
    03-10-2013
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Copy File Windows 7

    Hi mailmaverick!

    Do not copy anything in the folder C: / Windows, because it is used by the system. It is not impossible to copy there, you just need to give yourself permissions (or privileges to administrator).
    Create a folder on the C: drive and put in into your files.

    Pan314

    * Push the button, if you accept the answer.

  3. #3
    Registered User
    Join Date
    03-14-2012
    Location
    wwr
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Copy File Windows 7

    Hi Pan314

    Apologies for late replying. Was out of town for some work.

    I know that we shouldn't copy to C:\windows but there is a specific reason for me doing that.

    In case this is possible by Excel VBA, please help. But please note that I have to copy these files to c:\windows folder of many computers. I wouldn't be able to change administrator permissions for each of them.

    Is it possible for copying the files without changing the permissions ?

    If not, is there any other way (apart from Excel) to do that ?

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] File Download Name assuming Thread Title as File Name Windows 2007
    By jaslake in forum Suggestions for Improvement
    Replies: 10
    Last Post: 03-19-2014, 01:07 PM
  2. Replies: 1
    Last Post: 05-24-2013, 01:35 PM
  3. xlsm file that is saved on Windows 7 platform crashes when opened on Windows XP platform
    By abunchofsmiles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2012, 11:58 PM
  4. Windows XP : Why is my copy of windows xp not valid?
    By J.wills in forum Microsoft Windows Help
    Replies: 4
    Last Post: 11-30-2009, 09:38 AM
  5. Replies: 1
    Last Post: 11-28-2009, 07:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1