Hey guys,
I get this error when I want to run a script that makes use of the IE object of windows. I’ve simplified the script so that you guys can take a look.
This script is part of a login script for cyrtix servers. The script works when I login on cyrtix via the server. But doesn’t work...
hey guys,
simple question. I want the values from a WScript.Echo to be dummped in to a .txt file.
I'v tries this:
Dim X
X = "txttxtxtxtxtxtt"
WScript.Echo X > c:\test.txt
doesnt work hoever.
any ideas?
I hate to ask this again guys but I just cant seem to be able to get it working.
I need to have 2 variables outside a script. A simple Yes or No. (1 / 0) whatever you look.
Right now I'm using the objFSO.FileExists to rename files, its pretty backwards and I'm sure there is an easier way...
hey guys,
whats the easiest and most simple way to get the disk freespace of a certian partition in VBS?
I'm now using WMI but thats too much code for something this simple, I thought maybe there is a better way.
thanks
Hello,
My priv1.edb is currently 27GB but in exhange system manager i look at the users mail box sizes it doesnt even come close to 2GB.
How can i find out what else is taking up all this space in the info store?
i preformed a offline defrag last weekend. shrank the DB from 34GB to its current...
Hey guys,
How can I get the FreeSpace, UsedSpace and TotalSpace of a certian partition so that I can then run a calculation on them.
Its:
If (UsedSpace/TotalSize) > 0.90 Then
End If
thanks!
Guys, what’s the easiest way to access a directory and then running a command script.
Baiscly:
Cd [path]
Run Cmd
Should I use WSH? How would I go about doing it.
Hey guys,
Could you have a look at tis script
Dim objFSO, objDrives, objDrive
Dim nFreeSpace, nTotalSize, nSpaceUsed, nPercentUsed
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objDrives = objFSO.Drives
For Each objDrive In objDrives
If objDrive.DriveType = 2 And...
I need to do some scripting with the Windows Task Scheduler. After some searching I found the Perl Win32 Task Scheduler module.
What I need to do is the following: I need to enable and disable a scheduled task in windows via a command or in a script.
Can someone make a script or batch file for me that does this:
-Net Stop “Microsoft Exchange Information Store”
-Cd c:\program files\Exchange\bin\
-Eseutil /d c:\program files\db\x.edb
-Net Start “Microsoft Exchange Information Store”
I came across a few problems when I wanted to do it on my...
I need a script that does the following things:
Dismount Exchange Information Stores
Run Eseutil /d
Mount Exchange Information Store
So far I’ve been working with send key commands in my script:
Option Explicit
Dim objShell, Racey, Count
Set objShell = CreateObject("WScript.Shell")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.