Newsgroups: microsoft.public.scripting.vbscript
From: moonhkt <moon...@gmail.com>
Date: Wed, 28 Oct 2009 07:59:31 -0700 (PDT)
Local: Wed, Oct 28 2009 2:59 pm
Subject: Re: Renaming file as weekdays...
On Oct 28, 3:58 pm, Jake <jak...@gmail.com> wrote:
> Hi, you can using weekday(),retrun 1,2,3,.. then rename to Weekday. > I have a file called C:\MyDir\MyFile.dat which is copied to this folder > I need to keep a copy of this file for the seven last days. Hence I > How would I do this in vbscript? I'm realtively new to this, but I want > thanks anyone > jake Option Explicit Set fso = CreateObject("Scripting.FileSystemObject") '~~ Start rename end if Set oShell = Nothing You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||