Computing.Net > Forums > Windows XP > Copy network file to local machine

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Copy network file to local machine

Reply to Message Icon

Name: Ewhite4804
Date: April 9, 2008 at 08:34:04 Pacific
OS: XP pro
CPU/Ram: 2gb
Product: xi
Comment:

How do I copy a network file to all of my users local machines.

I would like to copy the network file "\\Sam\2008\profile.aws" to a user's local "C:\Documents and Settings\%logon name%\Application Data\Autodesk\AutoCAD\Profiles\" location, during startup if possible.



Sponsored Link
Ads by Google

Response Number 1
Name: Rayburn
Date: April 9, 2008 at 10:32:28 Pacific
Reply:

The only way I know of is to paste the following code into Notepad, then in Notepad, click File>Save. In the box that appears, click the Combobox beside "Save As Type" and select "All Files." Save the file to C:\Documents and Settings\%USERNAME%\Start Menu\Programs\Startup. You can title the file anything you want as long as the extension is .vbs. You have to do this with each of your user's PCs. Someone might know of an easier way....

Dim filesys

set filesys=CreateObject("Scripting.FileSystemObject")
If filesys.FileExists("\\Sam\2008\profile.aws") Then
filesys.CopyFile "\\Sam\2008\profile.aws", "C:\Documents and Settings\%USERNAME%\Application Data\Autodesk\AutoCAD\Profiles\"
End If


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Copy network file to local machine

copying audio files to my hard driv www.computing.net/answers/windows-xp/copying-audio-files-to-my-hard-driv/39146.html

Copying a file to multiple folders. www.computing.net/answers/windows-xp/copying-a-file-to-multiple-folders/130650.html

Copying Files to CD www.computing.net/answers/windows-xp/copying-files-to-cd/165903.html