79572747

Date: 2025-04-14 09:10:00
Score: 0.5
Natty:
Report link

The following example will handle correctly folder names that contain spaces.

Option Explicit

Dim wshShell
Dim TargetFolder

Set wshShell = WSH.CreateObject("WScript.Shell")
TargetFolder = "C:\Program Files"

wshShell.Run """" & TargetFolder & """"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Safwan