![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Copy a file from C: to %userprofile%? <nickaclark@xxxxxx> wrote in message news:7a8005d8-5bcb-4569-a7bb-35fd51944615@xxxxxx Quote: > Does anyone have a script for this? I have done research all morning > long to find this and cannot a simple vbs script to just copy a file > from one location to %userprofile% > > Can anyone help?! a) Use a simple batch file: @echo off xcopy /d /y "d:\xxx.txt" "%UserProfile%\Desktop" b) Use the CopyFile method of the File System Object. You'll find a fully explained example in the downloadable file script56.chm (with lots of other useful stuff too!). |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| explorer.exe /root,%userprofile% doesn't work | Vista General | |||
| vista can't copy large files? another XP file-copy bug? | Vista General | |||
| explorer /root,%userprofile% | Vista General | |||
| safe userprofile on another partition | Vista General | |||
| Server based Userprofile | Vista account administration | |||