Copy, Rename, Move, Create, Delete Folders and Files VBScript (Video 3) |JOKO ENGINEERING|

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ม.ค. 2025

ความคิดเห็น • 33

  • @Julek512
    @Julek512 2 ปีที่แล้ว +1

    can I write something to txt file from vbs?

  • @joelseattle2953
    @joelseattle2953 5 ปีที่แล้ว +1

    Thanks for the video. Helped me a lot. What city is on your desktop - Vancouver?

  • @a1appbuilder
    @a1appbuilder 6 ปีที่แล้ว +1

    What should I do to delete a folder with sub folders if it's a admin protected dir.

  • @Ethecks
    @Ethecks 6 ปีที่แล้ว +2

    can you also delete other files?

  • @ilmo-u8j
    @ilmo-u8j 7 ปีที่แล้ว +4

    Nice tip but, how would it work with any folders and subfolders whose names are unknown?

    • @NOLBADE
      @NOLBADE 4 ปีที่แล้ว +1

      yes i need too

  • @josephhamill3907
    @josephhamill3907 5 ปีที่แล้ว

    Thanks for the video! is there a way to delete certain files and then run an .exe within whatever folder the VBSscript is saved in? that way I don't have to worry about changing the entire path name if I move the folder.

  • @fakeboi6021
    @fakeboi6021 4 ปีที่แล้ว +2

    just started learning vbs last year, and do you know that I'm still 11 that I start programming, also in 2020 I will be 13 soon in november

    • @fakeboi6021
      @fakeboi6021 4 ปีที่แล้ว +1

      and now I'm going to make a moderate virus, 50% harmless and 50% harmful :)

    • @aox_ae
      @aox_ae 4 ปีที่แล้ว +1

      @@fakeboi6021 YOUR TO DANGEROUS TO BE LEFT ALIVE

    • @OhStylerrYT
      @OhStylerrYT 4 ปีที่แล้ว +3

      @@fakeboi6021 im 10 and i have the ability to do some dangerous shit

    • @papalouie5517
      @papalouie5517 4 ปีที่แล้ว

      @@OhStylerrYT yes officer, this comment right here

    • @fakeboi6021
      @fakeboi6021 4 ปีที่แล้ว

      @@OhStylerrYT are you challenging me?

  • @Noott-Noott
    @Noott-Noott 2 ปีที่แล้ว

    It would be nice to know how to add text into the file that i have made, instead on having to manually type it in

  • @redhahamad6125
    @redhahamad6125 5 ปีที่แล้ว +1

    Thanks for your video, how can make a script that when pdf file exist in a folder called 'SOURCE' then three steps have to be done.
    Step one: make pdf as a searchable file if possible then reduce the file size.
    Step two: copy the file to a folder called 'BACKUP'.
    Step three: CUT the file from 'SOURCE' and PAST it in a folder called 'FOR REVIEW'.
    The file will not be exist after the hole process in the 'SOURCE' folder.
    How can achieve thies stips with a script in vbScript?
    Thanks in advance!

  • @aox_ae
    @aox_ae 4 ปีที่แล้ว

    0:57 IS THAT A SUPRA??

  • @SelfiePalace
    @SelfiePalace 5 ปีที่แล้ว

    Object doesn't support this property the error I am getting

  • @cavegame1
    @cavegame1 6 ปีที่แล้ว

    Can I make it copy itself and then run the copy again (and itself) until it uses all of the computers resources and crashes?

    • @Veltronic328
      @Veltronic328 6 ปีที่แล้ว +1

      use do at the start
      and use loop at the end

  • @hariprasadkennedy2707
    @hariprasadkennedy2707 2 ปีที่แล้ว

    My requirement is:
    I want to copy few files (selective files) from one folder to another folder, I am having 100 files name in handy. Can we use a text file to look up the files in the source path?? Kindly give the vbscript pls

  • @ammyd
    @ammyd 7 ปีที่แล้ว +2

    Option Explicit
    DIM FSO
    SET FSO=CreateObject("Scripting.FileSystemObeject")
    FSO.CreateFolder("C:\Users\User\Desktop\BWC")
    FSO.CopyFolder "G:\DCIM\100RECOR","C:\Users\User\Desktop\BWC"

    • @ammyd
      @ammyd 7 ปีที่แล้ว

      HAVING EEROR

    • @leonkleinelsen8586
      @leonkleinelsen8586 7 ปีที่แล้ว

      3rd Line its : SET FSO=CreateObject("Scripting.FileSystemObject"). You Wrote Obeject

  • @mbrunygroth
    @mbrunygroth 6 ปีที่แล้ว

    1) Is it possible to pull up a window that lets you choose the folder or file you want, as opposed to the input box which makes you copy paste the filepath?
    2) Are if, then statements allowed? Can I say if filename contains certain text, then move to folder?
    3) Can this be used to search for empty subdirectories within a directory and delete them?

    • @JokoEngineeringhelp
      @JokoEngineeringhelp  6 ปีที่แล้ว

      Hi Michael, using the VB scripting language would be much more suited to opening an explorer window and choosing the folder you want. It can do all that you are asking about.

  • @scorey4443
    @scorey4443 8 ปีที่แล้ว +1

    permission denied.. why?

    • @JokoEngineeringhelp
      @JokoEngineeringhelp  8 ปีที่แล้ว

      Could happen for a few reasons. If you're using a folderpath in a protected folder, perhaps C:\ or system32 special permissions need to be granted (I'm rusty on that but there's a lot of information out there) also sometimes folderpath errors can trigger a permission issue. Sometimes, I've restarted the computer and the permission issue goes away too. It's really frustrating sorry you're having that problem.

  • @stoneboy1708
    @stoneboy1708 3 ปีที่แล้ว

    how simple turtorial i understand 0% nice