VBScript Basics, Part 15 | Copy - Move - Rename - Files

ثاقب
ثاقب
153 بار بازدید - 7 سال پیش - VBScripting (.vbs) Basic tutorial on
VBScripting (.vbs) Basic tutorial on how to copy, move, and rename files and folders. Use an asterisk to copy or move multiple files and folders at a time. Also how to make sure and check if they exist before doing so. Code Example: ______________________________________________________ Option Explicit Dim fso Set fso = CreateObject("Scripting.FileSystemObject") If fso.FileExists("C:\Users\Jeremy\Desktop\sinking.jpg") then fso.CopyFile "C:\Users\Jeremy\Desktop\sinking.jpg"
7 سال پیش در تاریخ 1396/10/04 منتشر شده است.
153 بـار بازدید شده
... بیشتر