Batch File or vbscript that completes multiple tasks

前端 未结 1 391
挽巷
挽巷 2021-01-27 14:32

I am looking to do some automating on some imports. I am looking for a way to call multiple scripts to run from either one batch file or vbscript. what I am trying to do is the

相关标签:
1条回答
  • 2021-01-27 14:55

    Instead of mixing batch and VBScript, I recommend you just put all those tasks in a single VBScript. Here's an example of how to rename a file in VBScript.

    Set FSO = CreateObject("Scripting.FileSystemObject")
    FSO.MoveFile "C:\MyFile.txt", "C:\YourFile.txt"
    ' Can continue to use FSO for other operations...
    

    Please note that moving is essentially the same thing as renaming.

    If you clarify what else you want, then more help will be forthcoming.

    0 讨论(0)
提交回复
热议问题