Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - vbscript to copy files from netlog to local profile folder

Reply
 
Old 05-14-2009   #1 (permalink)
Chris


 
 

vbscript to copy files from netlog to local profile folder

I'm looking for a vbscript which will be triggered as part of logon script.
It will copy some files, for example staff.* from netlogon share on the logon
server to "application data\microsoft\outlook" under user's profile path, if
the files are not exist.

Can someone help or provide similar script so we can follow?

Thanks.

My System SpecsSystem Spec
Old 05-14-2009   #2 (permalink)
Pegasus [MVP]


 
 

Re: vbscript to copy files from netlog to local profile folder


"Chris" <Chris@xxxxxx> wrote in message
news:8C32DBEA-BD1C-437B-8CF7-AF18C05DC06C@xxxxxx
Quote:

> I'm looking for a vbscript which will be triggered as part of logon
> script.
> It will copy some files, for example staff.* from netlogon share on the
> logon
> server to "application data\microsoft\outlook" under user's profile path,
> if
> the files are not exist.
>
> Can someone help or provide similar script so we can follow?
>
> Thanks.
Have a look at the CopyFile method of the File System Object, described in
detail in the downloadable file script56.chm.


My System SpecsSystem Spec
Old 05-14-2009   #3 (permalink)
Chris


 
 

Re: vbscript to copy files from netlog to local profile folder

Where can I get script56.chm?

"Pegasus [MVP]" wrote:
Quote:

>
> "Chris" <Chris@xxxxxx> wrote in message
> news:8C32DBEA-BD1C-437B-8CF7-AF18C05DC06C@xxxxxx
Quote:

> > I'm looking for a vbscript which will be triggered as part of logon
> > script.
> > It will copy some files, for example staff.* from netlogon share on the
> > logon
> > server to "application data\microsoft\outlook" under user's profile path,
> > if
> > the files are not exist.
> >
> > Can someone help or provide similar script so we can follow?
> >
> > Thanks.
>
> Have a look at the CopyFile method of the File System Object, described in
> detail in the downloadable file script56.chm.
>
>
>
My System SpecsSystem Spec
Old 05-14-2009   #4 (permalink)
Pegasus [MVP]


 
 

Re: vbscript to copy files from netlog to local profile folder

"Chris" <Chris@xxxxxx> wrote in message
news:F7E3AEB2-E4E0-454B-82EF-14A47E93180E@xxxxxx
Quote:

> Where can I get script56.chm?
Google is your friend. Type this into a Google search box:

download "script56.chm"


My System SpecsSystem Spec
Old 05-14-2009   #5 (permalink)
Paul Randall


 
 

Re: vbscript to copy files from netlog to local profile folder


"Chris" <Chris@xxxxxx> wrote in message
news:F7E3AEB2-E4E0-454B-82EF-14A47E93180E@xxxxxx
Quote:

> Where can I get script56.chm?
>
> "Pegasus [MVP]" wrote:
>
Quote:

>>
>> "Chris" <Chris@xxxxxx> wrote in message
>> news:8C32DBEA-BD1C-437B-8CF7-AF18C05DC06C@xxxxxx
Quote:

>> > I'm looking for a vbscript which will be triggered as part of logon
>> > script.
>> > It will copy some files, for example staff.* from netlogon share on the
>> > logon
>> > server to "application data\microsoft\outlook" under user's profile
>> > path,
>> > if
>> > the files are not exist.
>> >
>> > Can someone help or provide similar script so we can follow?
>> >
>> > Thanks.
>>
>> Have a look at the CopyFile method of the File System Object, described
>> in
>> detail in the downloadable file script56.chm.
Microsoft has a vast repository of free information on all things Microsoft.
Its not perfect, but is very useful. msdn.microsoft.com. For this
particular download, go to
http://www.microsoft.com/downloads/en/default.aspx and search for *.chm or
script56.chm.

-Paul Randall


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Copy Local Profile to new Domain Profile Vista General
Local Vista user profile copy to AD (Serv2003) Network & Sharing
Failed to logon with domain user to Vista after copy local profile Vista account administration
Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off. Vista General
Moved Contacts to C:\Users over my profile and I have a copy of my profile under my profile in the explorer only. Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46