Script to create a folder using Dates



Hello,

Every week, I have to create a folder manually but I am hoping that
one of you can help me create a script for it or point me in the right
direction. Hopefully it will be a simple thing for all you experts in
this field.

Users save their weekly files to a shared folder on the server. The
folder sits right of the shared drive and is the format : "mm-dd-yy
to mm-dd-yy". The first date is generally the first day of the work
week which is Monday and the second date is the last day of the work
week which would be the Friday. So, for example, I created a folder
this week that was called "05-19-08 to 05-23-08" in the shared
directory.

There are subfolders under it but are created using the
"CreateObject("Scripting.FileSystemObject")" script which has been
working perfectly.

Any help in this script will be appreciated.

Thx
.



Relevant Pages

  • Re: Script: Network share problems
    ... If the folder didn't exist or you did not have security ... you will need to add more error checking to your script. ... objFSO.CopyFile source, dest, OVERWRITE_EXISTING ... ' Delete all files in subfolders ...
    (microsoft.public.windowsxp.wmi)
  • Re: creating folder tree structures
    ... When I have a working script I will post ... Set fso = CreateObject ... So that ONLY "Folder 1" name is ... the rest of the subfolders are set already. ...
    (microsoft.public.scripting.vbscript)
  • Re: Customize File Views -HELP!
    ... I've written a script that will apply all the view customizations you can ... You can select a folder & configure its view settings, ... subfolders ...
    (microsoft.public.windowsxp.general)
  • Re: script to find all files in folder/subfolders
    ... what I would like the script to eventually do, is scan all files in a certain ... folder (including subfolders) and if the file has not been modified in 1 ... folder, including sub-folders but I can't get the subfolder part to work. ... Set colFiles = objWMIService.ExecQuery _ ...
    (microsoft.public.windows.server.scripting)
  • Re: Apply settings of explorer columns to subfolders ?
    ... I've written a script that will apply all the view customizations you can set to all of a folder's ... You can select a folder & configure its view settings, then those are set to be inherited by all ... subfolders. ... non-grouped view to be the default inheritance for My Computer, then return My Computer to its ...
    (microsoft.public.windowsxp.general)