Results 1 to 7 of 7

Thread: Batch File!!!!!

  1. #1
    Join Date
    Sep 2003
    Location
    Kalamazoo
    Posts
    42

    Angry Unanswered: Batch File!!!!!

    Hi,
    I am trying to write a batch file which does the following:
    1. Move all the files created on weekdays to be sorted to their respective days folder Example: Files created on Tuesday should be moved to a folder named "Tuesday"(When the batch file is run on Wednesday).
    2. Only that particular day's created files should be present in the main directory and the other files should be moved to their respective days(created days) folder!!!!!
    Could you please help me out!!!!!
    Thanks.
    A

  2. #2
    Join Date
    Oct 2003
    Location
    India
    Posts
    55

    Unhappy Batch File or VB

    First let me know that whether you are developing in VB or some othere language where you are calling this batch file.
    Sree

  3. #3
    Join Date
    Sep 2003
    Location
    Kalamazoo
    Posts
    42
    i m tryin to do this using DOS commands like xcopy...

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    Do you have wsh installed ?

  5. #5
    Join Date
    Sep 2003
    Location
    Kalamazoo
    Posts
    42
    wsh=huh?????

  6. #6
    Join Date
    Feb 2002
    Posts
    2,232
    Windows script host - Which version of windows are you running ?

  7. #7
    Join Date
    Feb 2002
    Posts
    2,232
    wsh gives you the ability to write scripts that are much more robust than the traditional batch files (using vbscript and jscript). It is included in windows 2000.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •