Skip to content

FAQforge

  • Site Notice
  • Privacy Policy

commands

Merge Lines in VBScript (Windows)

by CSch

If you need to have multiple commands in one line in MS Windows' VBScript, you can accomplish that by using the colon (:) operator. The following line of script will display two message-boxes after each other: Msgbox"Hello." : Msgbox"Hey!" You can leave as much space as you want between the commands and the colon.

Categories Vista, Windows, Windows 7, XP Tags colon, commands, lines, merge, multiple, one, vbscript 1 Comment

Popular Tutorials

  • Find and Open Files using Windows Command Prompt
  • How to Take High-Resolution Screenshots in Windows 10
  • How to Configure NTP Server in Windows Server 2016
  • How to change the default font in Windows 10
  • How to Exclude a User or Computer from Group Policy Object
  • How to Create a PowerShell Session on a Remote Computer
  • How to Shut Down Windows 10 with the Shutdown Timer
  • Windows Powershell – “Running scripts is disabled on this system”
  • How to Update ISPConfig 3
  • How to Configure a Scheduled Task Item using Group Policy

Categories

  • Android
  • Basics
  • CentOS
  • Controlpanels
  • Debian
  • Distributions
  • Email
  • FTP
  • iPad & iPhone
  • ISPConfig 2
  • ISPConfig 3
  • Linux & Unix
  • Mac OS X
  • Microsoft Exchange Server 2016
  • MySQL
  • O365
  • PostgreSQL
  • PowerShell
  • Programming
  • Server
  • Ubuntu
  • Uncategorized
  • Virtualisation
  • Vista
  • Webserver
  • Windows
  • Windows 10
  • Windows 7
  • Windows 8
  • Windows Server 2012 R2
  • Windows Server 2016
  • XP
© 2021 FAQforge • Built with GeneratePress