create folder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • exfel
    New Member
    • Jan 2007
    • 4

    #1

    create folder

    i want to make a back up file of one of my folder. is there any software which will create a new folder on a daily basis every time my i open my computer and copies the files from my folder as a backup...

    thanks.... sorry for my english.. wink
  • hariharanmca
    Top Contributor
    • Dec 2006
    • 1977

    #2
    Originally posted by exfel
    i want to make a back up file of one of my folder. is there any software which will create a new folder on a daily basis every time my i open my computer and copies the files from my folder as a backup...

    thanks.... sorry for my english.. wink

    through VB u can Create Folder by LateBinding

    Code.......
    =============== =============== =============== ===========

    Dim FileSystemObjec t As Object
    Set FileSystemObjec t = CreateObject("S cripting.FileSy stemObject")

    If FileSystemObjec t.FileExists(<S tringFilePath>) Then
    MsgBox "Folder already contains Folder" & <StringFilePath >
    else
    FileSystemObjec t.CreateFolder <StringFilePath >
    End If

    Comment

    • exfel
      New Member
      • Jan 2007
      • 4

      #3
      thank you very much.... god bless

      Comment

      • exfel
        New Member
        • Jan 2007
        • 4

        #4
        do you have available codes for a .batch file? like in notepad?

        Comment

        • hariharanmca
          Top Contributor
          • Dec 2006
          • 1977

          #5
          Originally posted by exfel
          do you have available codes for a .batch file? like in notepad?

          sorry i am not geting u properly

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by exfel
            do you have available codes for a .batch file? like in notepad?
            The problem with a batch file is that it's hard to do things dynamically, such as generating a different folder name each day. Not impossible, just difficult. Batch files are much simpler to do if you just want to repeat the same set of commands each time.

            Comment

            Working...