..._
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
Wscript.Echo objOperatingSystem.Caption
Next
Set colSoft =...
You can add double quote to the filename with this function :
FileNameWithSpace = "abc xy.xlsx"
wscript.echo DblQuote(FileNameWithSpace)
'--------------------------------------
Function DblQuote(Str)
DblQuote = Chr(34) & Str & Chr(34)
End Function
'--------------------------------------
Hi ! I founded a good example on the Net dealing with my aim.Just i modified it to add an attachment and a signature in a HTML Mode with image (^_^) and here is the code modified by me that can help someone else !
Please take a few time to test this and tell me your result !
With My Best...
Hi !
I want to make a small dialog box asking for a few options, and then I want to take those options and send them via e-mail with attachment.
I already have a VBS script that sends e-mail, and I need to use HTA for my form.
How can I combine the VBS script into my HTA, or how can I pass...
Thank you for your reply but this still don't works.
I think this comes from the security issue so i'm working under Internet explorer version 7 and using Windows xp SP3.
I made some modification in the HTML file and even this don't works :(
<html>
<head>
<script language=vbscript>
Sub...
Hi everybody :) I post this VBscript that works for me so fine when i run it as a vbs file !
' Set your settings
strFileURL = "http://hackoo.ifrance.com/Merlin.jpg"
strHDLocation = "c:\Merlin.jpg"
' Fetch the file
Set Ws = WScript.CreateObject("WScript.Shell")
Set objXMLHTTP =...
Hi ! i need some help and advice, the computer of my friend is infected by a malware that it's very hard to remove it manullay so i post here The Report created by USBFix. please tell me what can i do with this kind of malware.
Thank you for your help !
############################## | UsbFix...
Yes i found this code in the registry of my friend who was infected by this kind of malware when i scan it with a2hijackfree.
Because i can't access to the registry or the taskmanager and when i try to delete this key in his registry the last one recreate again so i think the malware try to copy...
Can someone here explain me this Syntax and what it can do exactly?
C:\WINDOWS\system32\wscript.exe /E:vbs C:\WINDOWS\system32\baseWINDOWS.db
Thank you for your Reply
...'Check the local path and file to ensure
'that either the a file that exists was
'passed or a wildcard was passed.
If InStr(sLocalFile, "*") Then
If InStr(sLocalFile, " ") Then
FTPUpload = "Error: Wildcard uploads do not work if the path contains a " & _
"space." &...
...beep = chr(007)
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_DiskDrive WHERE InterfaceType='USB'",,48)
intCount = 0
For Each drive In colItems
If drive.mediaType <> "" Then
intCount =...
...beep = chr(007)
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_DiskDrive WHERE InterfaceType='USB'",,48)
intCount = 0
For Each drive In colItems
If drive.mediaType <> "" Then
intCount =...
Hi to everybody !
I explain a little the purpose of this script: it's how to Block a site. So I found A simple solution which consists in using the file hosts of Windows.
This file is in c:\windows\system32\drivers\etc (Windows XP) or c:\winnt\system32\drivers\etc (Windows NT4, 2000) or...
...Looking up in the internet I just found it ! and it works for me very well !. I should share it with you ! anyway it could help someone else ;)
'**************************************
' Name: An Idle Check
' Description:Idle Check tests your syst
' em whether it is in an idle state. Once...
Hi !
I'm coding an application like a Keylogger in VB6 that take a screenshot every 5 minutes.
My question is: if there is a Tip that stop recording the screenshot when there is No Activity on the Computer?
NoActivity means :if NO keyboard or mouse activity detected
The Algorithm is like this ...
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.