Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying files from PC to PC

Using Excel 2003 VBA under XP I want to copy from

\\PC_NAME\C$\DATA
to
H:\DATA_BACK_UP

I have tried FileCopy but it keeps throwing "Permision Denied"
And so does Microsoft Scripting Runtime.

This will probably be some thing obvious....

Last resort is to Shell("cmd /c copy \\PC_NAME\C$\DATA\test.dat H:\DATA_BACK_UP")
But this takes an unkown amount of time and I want to delete the old files


Cheers

Alan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying files from PC to PC


Sounds like the file copy is violating the share permissions on th
network

--
crispb
-----------------------------------------------------------------------
crispbd's Profile: http://www.excelforum.com/member.php...fo&userid=1088
View this thread: http://www.excelforum.com/showthread.php?threadid=26288

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying from different files into 1 LiAD Excel Discussion (Misc queries) 1 November 4th 09 01:57 PM
Copying Files RH206 Excel Discussion (Misc queries) 2 April 1st 08 08:21 PM
Copying files fds Excel Worksheet Functions 1 July 27th 05 12:55 AM
Copying files Robin Clay[_3_] Excel Programming 2 August 4th 04 04:32 PM
Copying data from many files David Excel Programming 1 June 30th 04 06:32 PM


All times are GMT +1. The time now is 04:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"