Let's Talk About Special Folders! VbScript

17. VbScript | Special Folders

Today we are going to talk about special folders in VbScript. Special Folders tend to be hidden or require a specific username to get to them. The Special Folders Command in VbScript are pre-defined directory paths that can be useful when moving a file from one directory to another; or any task that requires you […]

Read More

0. VbScript | Basics

All the basic rules you should know about VbScript in the beginning. I recommend following along by trying this Vb Script either on the QTP/UFT software or make a .txt file, type in your code, and rename the .txt to .vbs : VbScript Syntax Rules: The statements must fit onto one line; Example: Dim x […]

Read More

1. UFT/QTP Basics & Keywords

In order to understand what we are learning, we must know the keywords that we use frequently to describe something in Software Testing. Without knowing what we are talking about, understanding the information is like trying to understand a foreign language you’ve never heard of before. But in order to understand that foreign language, we […]

Read More

16. VbScript | Shortcuts

Try the Code – Ask Questions – Ask me what you need. Today we are going to talk about making shortcuts to any file or folder. The code is as follows: Option Explicit Dim obj Set obj = CreateObject (“wscript.shell”) obj.CreateShortcut(“C:\Users\rock\Desktop\newshortcut.lnk”) Shortcuts have the extension .lnk, which stands for links. It does not matter whether […]

Read More

15. VbScript | Copy, Move, Rename Files & Folder

Video Walkthrough: Try using the code in order to make sure you understand. So this tutorial is about copying, moving, and renaming files and folders using VbScript. Below is the format of the script to copy and to move the files and folders. Note that the root command is CreateObject(“Scripting.FileSystemObject”): Option Explicit Dim fso Set […]

Read More