Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion problem with vbscript

View parsed - Show only message text

From: "Pegasus \(MVP\)" <I....@fly.com.oz>
References: <e5f89449-1564-4165-8020-1f98f13a1322@m36g2000hse.googlegroups.com> <e#tHOMOiIHA.3448@TK2MSFTNGP04.phx.gbl> <0668e797-fc58-45f4-85b9-215ec019e186@a70g2000hsh.googlegroups.com>
Subject: Re: problem with vbscript
Date: Tue, 18 Mar 2008 17:05:10 +0100
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
Message-ID: <OEn4YHRiIHA.4744@TK2MSFTNGP06.phx.gbl>
Newsgroups: microsoft.public.scripting.vbscript
NNTP-Posting-Host: 164.90.3.213.cust.bluewin.ch 213.3.90.164
Path: g2news1.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!msrtrans!TK2MSFTFEEDS02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP06.phx.gbl


"axel" <sempresol...@live.it> wrote in message 
news:0668e797-fc58-45f4-85b9-215ec019e186@a70g2000hsh.googlegroups.com...
> On 18 Mar, 11:30, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
>> "axel" <sempresol...@live.it> wrote in message
>>
>> news:e5f89449-1564-4165-8020-1f98f13a1322@m36g2000hse.googlegroups.com...
>>
>> > hi guys
>>
>> > i'm Alex and i have a problem, i want create a VBscript with
>> > copyfolder command for each profile into PC:
>>
>> > folder source: c:\test (in the folder there are many files and
>> > folders)
>>
>> > folder destination: ...\"user profile"\Applications data
>>
>> > this copy run for default user, administrator and all users but don't
>> > work for all profiles first create.
>>
>> > can you help me????
>>
>> A good starting point would be to post your script and tell
>> us what message you see on the screen when the script
>> does not work.
>
> i haven't a script....

My understanding of the purpose of newsgroups is that they
are a great resource for obtaining help but that they are not
a free "pizza delivery service". In other words, there has to
be some initial effort from the poster. I can see several solutions
to your current problem:
a) Use a humble batch file, e.g. like so:
  @echo off
  cd /d "%UserProfile%\.."
  for /d %%a in (*.*) do xcopy /s /d /c /y /ah "%%a" "d:\Backup\%%a\"

b) Study existing script examples, e.g. this one:
    http://www.microsoft.com/technet/scriptcenter/resources/qanda/aug07/hey0816.mspx

c) Download appropriate help files, e.g. the Scripting Guy file
    (from the above link) or the VB Script help file script56.chm.

To learn VB Script takes time and effort - we all had to do it! -
but it will be a rewarding exercise. 



Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google