-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a VBscript that outputs various config items about a system. Both hardware and software. I can output disks and their associated partitions. I can output mount points. I do not seem to be able to associate a mount point with a local disk (where it actually is a local disk).
I need to be able…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The only pre-process directive that I know about in VBScript / Classic ASP is the #include. I don't know if that is the official name but I'm basically looking for code that can execute code or other instructions before the general VBScript.
Are there any other such directives in VBScript? Such as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
how to pass and access command line arguments in VBscript
>>> More
-
as seen on SQL Blog
- Search for 'SQL Blog'
This weekend I discovered a minor issue in one of my virtual environments. I had built out 100 VMs based on a Hyper-V template, but I forgot to activate the original source before creating the template, so all of the machines were suddenly out of compliance. While easy enough on a one- or two-machine…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hello,
I am trying to get the size of a user's local profile using VBScript. I know the directory of the profile (typically "C:\Users\blah").
The following code does not work for most profiles (Permission Denied error 800A0046):
Dim folder
Dim fso
Set fso = WScript.CreateObject("Scripting.FileSystemObject")
Set…
>>> More