Over 1 million tech questions and answers.

VB Script not working

Q: VB Script not working

Hello:

I am knew in this forum.
I have just bought Dell XPS 12 Duo with Windows 8.
I was used to working with Windows 7 and i have few VBS script which worked just fine in Windows 7.
Now the same script would not work on Windows 8.
I would appreciate if someone can help me resolve the problem so that i can run my VB Script.

Thank you..

RM

Read other answers
RELEVANCY SCORE 200
Preferred Solution: VB Script not working

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

RELEVANCY SCORE 50

I am constantly (like a half hour doesn't go by) getting the script messages. The script has stopped working or the script is busy. I don't know what causes it so much. I click on debug script, but I don't understand what the debugger says or how to tell how long to wait. I just don't understand anything about this at all plus why it happens so much. Please help!
 

A:Script has stopped working or script is busy

Does it kick in when you just visit this site, or does it do that at other sites?
 

Read other 2 answers
RELEVANCY SCORE 42

Hello:

I am knew in this forum.
I have just bought Dell XPS 12 Duo with Windows 8.
I was used to working with Windows 7 and i have few VBS script which worked just fine in Windows 7.
Now the same script would not work on Windows 8.
I would appreciate if someone can help me resolve the problem so that i can run my VB Script.

Thank you..

RM

A:VB Script not working

"It doesn't work" is not a useful problem report. How would you feel if someone came up to you and said they had a problem and just told you it didn't work?

Read other 10 answers
RELEVANCY SCORE 42

Since this thread is similar to what I want to ask Im writing it about the problem that I have:
In windows xp and 7 I did not have this problem but on WINDOWS 8 is a real headache, Right now I have like 20 scripts that use access 2003 that connect to SQL Data in a server, but the first problem is that I cannot map drives classic style like Z:\ or H:\ etc
here is one simple example of the script
Set objShell = CreateObject("WScript.Shell")
Dim accessApp
set accessApp = CreateObject("Access.Application")

accessApp.Visible = "True"
accessApp.OpenCurrentDatabase "Z:\Contabilidad\Autorun\Reportes\CHEQUEOSAB.mdb"
accessApp.Run "ActualizaDatos"
accessApp.CloseCurrentDatabase
accessApp.Quit

Set objshell = nothing
set accessApp = nothing

A:VB Script not working

And the drives are mapped, and connected when trying to run the script?

Are you using Homegroup for Networking or regular MS Networking? I don't know if that would matter, Windows 7 has Homegroup too.

I found these articles:

Task scheduled vbscript cannot access mapped drive when run on logged off remote computer

Access network share from within VBScript eg FileSystemObject - Stack Overflow

Read other 18 answers
RELEVANCY SCORE 41.6

I have on my task bar a shortcut to a simple *.vbs script file to tile all open windows vertically, which contains the following;
Set wshshell=CreateObject("Shell.Application")
wshshell.TileVertically
It's been working just fine for ages, but now the short cut simply opens the notepad file as opposed to executing it.
All I have done recently, is to install some protection software (Norton 360 and Iolo System Management 8).
How can I repair this problem.

Read other answers
RELEVANCY SCORE 41.6

HI, I get this message on FB lately that say that the script has stopped working and it gives option to ,continue,stop script,or debug. Is it that difficult to debug the script? Thank you
 

Read other answers
RELEVANCY SCORE 41.6

I created two scripts sets with same cording in two deferent name to identify users in two LAN and applied it through a group policy. It is working with one lan and but not with other lan.
I cant understand why its not applying to other. only deference with script is script name and the file name its saving.
If someone can help me very thankful.
 

A:Logging script is not working with other LAN

You have asked this question in your previous thread, do please don't post duplicates. I've marked the other one unsolved.
 

Read other 1 answers
RELEVANCY SCORE 41.6

For the past few years I have used the following vbs script to perform a simple archive on files. After several updates earlier in the year, they quit working. Gives me the error "can't create object 'Scripting.FileSystemObject', error code: 800A01AD
I really havent had time to seriously research the issue until today.

The most prominent updates on my WinXP Pro system are SP3, "Windows Power Shell 1.0", and all the .net framework updates (08/14/09). I think that one of them may be the culprit. Is there a better way to write this simple code, or does anyone know what may be causing the error.
Code:
Dim fso
set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFile "C:\Data Files\Databases\Case Management.mdb", "L:\DB Backups\Case Management (" & Replace(FormatDateTime(Date(),2),"/","-") & " " & Replace(FormatDateTime(Time(),4),":","") & ").bak"
set fso = nothing
Thank you,
JR
 

A:vb script stopped working

Read other 7 answers
RELEVANCY SCORE 41.6

Good evening everyone,
I have a problem regarding a shutdown script on Win7 clients.
What I am trying to do is simply set the date on the client to the 1st of January 2017 due to restrictions made by the
customer.
I simply tried to use a .cmd file as a shutdown script with only "date 01.01.2017" in it. After doing so, I used this script in a GPO wich I linked on a test OU.

As far as I see, this should work. But somehow it does not. The next step would be to run a .exe file. So I put this "C:\exelocationandname.exe" as a second line in said .cmd.
The date is not set, but the .exe is being executed. I do not have any idea why this occurs.
As far as I understood, the shutdown scripts run with SYSTEM priviledges. So this shouldn't be an issue.
Please let me know if you have an idea about this.

Thanks a lot

Jan

Read other answers
RELEVANCY SCORE 41.6

Hi,

I have a php file that has the following piece of code:
---
<?
$file = "/data/src/Status/a";
$ret = @chmod($file, 0775);

$ret = @unlink($file);

?>
---

When i run the code from the command line the file ("a") gets deleted. But when i invoke the script using a browser the file is not getting deleted.

What might be the possible reason?

Thanks,
Navanee
 

A:php script not working in browser

Read other 8 answers
RELEVANCY SCORE 41.2

Hi,
 
I have a .vbs to run wakeonlan.exe (also tried shutdown.exe) to run as a shutdown script. The script works fine from a command line or double click but it fails when run as a shutdown script.
 
Maybe some service that either exe needs is stopped before the script runs so there is some sort of error???
 
I want my HTPC to shtudown my media server when it shuts down, and start the server when a certain user(the HTPC front end) logs in. I beleive the wake portion works fine, I've had no success on the shutdown..
 
i have tried inserting a line to run a timer for thrity seconds and hold it up, no luck
 
I use the parameter to halt script execution until the program completes, no change.
 
Is there a way to make shutdown scripts run before anything else is stopped in a shutdown?
 
 

A:Shutdown Script not working when shutting down

http://technet.microsoft.com/en-us/library/cc770300.aspx
 
should lead you to water...

Read other 1 answers
RELEVANCY SCORE 41.2

I have a logon sript that runs a vb exe on a shared drive. The exe collects info from the workstations and sends it to an sql database. It was working great, now for some reason certain users/profiles have stopped running the exe. Why?
 

Read other answers
RELEVANCY SCORE 41.2

Code:
set LISTFOLDER=D:\List\
set FILESPATH=D:\Igre\COD-MW2\main\images
set DESTPATH=D:\Igre\COD-MW2\main\images\thepit

REM for /r %LISTFOLDER% %%I in (*.txt) do echo xcopy /qvs "%FILESPATH%\%%~nxI" "%DESTPATH%%%~pnxI"
for /r %LISTFOLDER% %%I in (*.txt) do xcopy /qvs "%FILESPATH%\%%~nxI" "%DESTPATH%%%~pnxI"
This script does not work.

The poster on another fourum said it could be a typo or something, but no further info was provided what the correct script is, although he had no errors, he mentioned it could be environment, I'm on win7 x64.

I have another similar script for filenames in a txt only, which appears to work, but it doesn't work because I have filespath in the txt, in the meantime i'll manually remove paths to see if it'll work with that, but still this script would be handy to save time in future.

A:CMD or Powershell Moving - script not working

I've got it working a bit more with filenames


Code:
@echo off

set FILELIST=D:\List\imageFilenames.txt
set FILESPATH=D:\Igre\COD-MW2\main\images
set DESTPATH=D:\Igre\COD-MW2\main\images\thepit

for /f %%X in (%FILELIST%) do call :COPY_FILES "%%X"
goto :eof

:COPY_FILES
for /r %FILESPATH% %%I in (%~1) do xcopy /qvs "%%I" "%DESTPATH%%%~pnxI"
But the error is

"cannot perform cyclic copy"

Read other 2 answers
RELEVANCY SCORE 41.2

Hi all
After updating by windows update to sp1, i have massage that java sript is not working correctly on my pc. I don't know why. I didn't switch it off, did not changed any system settings. Because this java, i can't run for instance McAfee installer. It displays the massage and only option is to push ok, and it closes. Another thing involving java is web pages displaying not as it should. MSN.co.uk at the top should have applet to scroll pictures but it doesn't.
What should i do?
I already tried to download new java from java.com, and run it but still the same.
Please help me

A:Java Script is not working corretly after sp1

Did you try to uninstall and then reinstall java?

Read other 9 answers
RELEVANCY SCORE 41.2

Dear All,

My batch file of robocopy is working fine. But when I tried to run it through task scheduler, none of the files transfer to the target location.

@echo off
echo +-----------------------------------------+
echo Database Export Utility for server
echo +-----------------------------------------+
echo .
ROBOCOPY E:\dp_dir \\192.168.30.28\inter_loc_dump /LOG:LOG_FILE.TXT

Above script is working fine...but task scheduler is keep on running without any results.

Please help me out.

Regards,
Ashish Kumar Mahanta

A:robocopy script is not working through Scheduler

Hi and Welcome to SevenForums,

In the Scheduler, what settings have you set under General, Triggers and Actions?

Regards,
Jamie

Read other 9 answers
RELEVANCY SCORE 40.4

Hello all,

For platform: Windows 7 Professional x64

I need a way to automate windows update with a .vbs script if possible. I'm not familiar with power shell so I prefer a .vbs script. I have searched and searched but have not been able to find a reliable .vbs script.

I need it not to have any user interaction so No prompts to search, download, or install the updates. 100% automated and silent. just a simple double click and launch or it can be called from a batch file, I would like to see the status in a window of some sort like cmd or something of course so I know what phase its in and when its complete.

if anyone has something like this please post it....this would speed up my production line greatly.

A:Does anyone have a working script for windows update? to automate it?

Wouldn't it be easier to leave auto updates turned on and the machine will update itself - or am I missing something ? what are you trying to achieve with your script that WU wont do on its own

Read other 5 answers
RELEVANCY SCORE 40.4

Hi

I keep getting error msg when I substitute the path with environmental variable.
Please advice, Thank you.


such as
Set objFolder = objShell.Namespace("C:\Users\Z z z\AppData\Roaming\uTorrent")
Set objFolder = objShell.Namespace("%APPDATA%\Roaming\uTorrent")


Set objFolder = objShell.Namespace("C:\Program Files (x86)\uTorrent")
Set objFolder = objShell.Namespace("%PROGRAMFILES(X86)%\uTorrent")


=====================

whole script pin to taskbar


Dim ObjFolder, ObjFolderItem, colVerbs, objverb, objshell
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("%PROGRAMFILES(X86)%\uTorrent")
Set objFolderItem = objFolder.ParseName("uTorrent.exe")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Taskbar" Then objVerb.DoIt
Next
WScript.Quit

A:Can't get VBS script working with win7 enviromental variable

The %APPDATA% variable includes the folder named Roaming.
Maybe...

Set objFolder = objShell.Namespace("%APPDATA%\Roaming\uTorrent")

...should be:

Set objFolder = objShell.Namespace("%APPDATA%\uTorrent")

Read other 5 answers
RELEVANCY SCORE 40.4

EDIT: It happened again =(
But didn't get any script error.
Specs information:
Windows XP Professional 5.1 (build 2600)
Direct X: 9
RAM: 768 MB
Processor: AMD Athlon 64 -2.2 Ghz
____

Hey, I get script error, I don't remember what it said, but it have happened twice now in about a day.
I remember the word "chrome".

What happens, is that my computer runs slow, about 30x times slower. Almost frozen.
And then I get the message "Script stopped working" and it said "chrome" and something else.

And when I click Stop script, it works perfect again...
But I don't want this to happen daily, are there anything that can prevent this from happening?
Also, I got another problem related to this too.
The memory usage is TOO HIGH! My maximum memory usage expands because of that script, the script
makes an .exe file go from 30 000 kb to 300 000. (just happened)
And then it stops after 5 minutes.
I really don't have any idea what to do but to hope for a reply here.

Also, here is a picture of my task manager, maybe you could help me remove some of the
processes? The memory usage, as said, is way too high.

I have erased 3 processes that I know what are, I know what the AVG ones are for too though...
If something about my problem is unclear, then please reply what, and I'll try to give a better explanation.

Thanks.

~Segun24
 

A:Script stopped working - please read and reply

-ILLEGAL BUMP-

Because no one wants to help me, looks like this site isn't as good
as you describe it.

If I don't get a reply soon or if this topic gets locked, then I'll just leave this site
because of its nonhelping community.

Don't take it personally to you who wants to help me.
If you want to help me but don't know how, don't take this personal.

But if you just think I'm stupid for posting this thread, then just ____ off, okay?
~Segun24
 

Read other 1 answers
RELEVANCY SCORE 40.4

I go to a site like Youtube and when I click to play a video it says "You have Javascript turned off or an old version of Adobe's flash player". I've checked browser tools and everything is enabled. I've downloaded both newest versions of flash player and Java....still wont open a video
 

A:flash player/Java script not working

If you have

Adobe Flash Player 10.0.22.87

and

Sun Java Runtime Environment 1.6.0.13

installed(after first uninstalling the old versions), open Internet Explorer, click Tools - Internet Options - Security(tab), set all 4 zones to "Default Level", click Apply - OK, then close and reopen Internet Explorer.

----------------------------------------------------------------
 

Read other 3 answers
RELEVANCY SCORE 40.4

Hi,

I have written following code in ajax.
This is a javascript function called on onchange event of a button.

This code works fine in firefox and chrome but does not work in IE8.0+
the values don't get displayed.
plz suggest me if there is any change.

thnx in advance.





<script type="text/javascript">
    
function showUser(str) {
  if (str=="") {
    document.getElementById("userDetailsShownHere").innerHTML="";
    return;
  }
  if (window.XMLHttpRequest) {
    // code for IE7+, Firefox, Chrome, Opera, Safari
    xmlhttp=new XMLHttpRequest();
  } else { // code for IE6, IE5
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
  xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4 && xmlhttp.status==200) {
      document.getElementById("userDetailsShownHere").innerHTML=xmlhttp.responseText;
      document.getElementById("btn").name=str;
        showGift(str);
    }
  }
  xmlhttp.open("GET","getuser.php?username="+str,true);
  xmlhttp.send();
}
//This code will execute on button click
function showGift(str) {
    var life = document.getEl... Read more

Read other answers
RELEVANCY SCORE 40.4

I am trying to run a simple shutdown script..easy no big deal
shutdown -r -t 00
And I created a desktop shortcut and assigned a hot key to it to speed up the process.

Problem is I try to launch the batch script and instead I get a command prompt window that goes to the script directory, types / activates CMD then does nothing? Prior doing this in XP worked like a charm, why does it not work in Windows 7? I also tried to run the script as administrator AND checked permissions and took ownership and also tried running it in compatability mode, still no luck.

Please help.

A:Standard Windows batch script not working

Hi and welcome to Seven Forums!

Have you tried to run shutdown at a command prompt?

Read other 5 answers
RELEVANCY SCORE 40.4

I am having issues with activating the security chip in BIOS using the script from Lenovo, SetConfig.vbs.Model: 20F90042MNUEFI BIOS Version: N1CET37W (1.05 )UEFI BIOS Date: 2016-01-15Embedded Controller Version: N1CHT25W (1.07 ) I am deploying Windows 7 with SCCM 2012 R2, and we are heavy users of all ThinkPad T4**s -models .OSD (Operative System Deployment) with BitLocker activation for T400s, T410s, T420s, T430s, T440s and T450s are working perfectly. T460s does not activate BitLocker, and it looks like the BIOS / Security Chip Activation is the issue.The script successfully activate the security chip (SetConfig.vbs SecurityChip Activate), as I can confirm in BIOS, but Windows does not agree.When I try to manually start BitLocker from Windows, it demands a reboot to activate TPM. I have tried running the script several times (from Windows), and rebooting after every time, but still Windows needs to activate TPM itself, and do a reboot.But if I go into bios, and manually enable SecurityChip (set to inactive first if already activated with the script, reboot, and then manually activate), I can start BitLocker from Windows without rebooting. Windows will then agree that TPM is activated.OSD will also work after I have done this manually. Why is it a difference with enabling with script, or enabling manually? I tried updating the BIOS to 1.09 on another new T460s before deploying Windows 7, and then the scrip... Read more

Read other answers
RELEVANCY SCORE 40.4

hi i have problem with some app for example powershell or Troubleshooting
see event :

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />

<EventID Qualifiers="0">1000</EventID>

<Level>2</Level>

<Task>100</Task>

<Keywords>0x80000000000000</Keywords>

<TimeCreated SystemTime="2014-10-17T18:13:30.000000000Z" />

<EventRecordID>19081</EventRecordID>

<Channel>Application</Channel>
<Security />

</System>
- <EventData>
<Data>powershell.exe</Data>

<Data>6.3.9600.16384</Data>

<Data>5215ef23</Data>

<Data>clr.dll</Data>

<Data>4.0.30319.34209</Data>

<Data>5348a1ef</Data>

<Data>c0000005</Data>

<Data>00000000001f15b5</Data>

<Data>12f8</Data>

<Data>01cfea360e11f963</Data>

<Data>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</Data>

<Data>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll</Data>

<Data>4bc80eb9-5629-11e4-82f1-8c89a50d7870</Data>

<Data />

<Data />

</EventData>
</Event>


- <Event xmlns="... Read more

Read other answers
RELEVANCY SCORE 40.4

Moderators: I'm not sure where to post this, so if it's in the wrong place I'll understand if it gets moved.

---

For quite some time I've been successfully using the following script to make regular backups of a database, but lately the backups are <1KB in size, where the database itself is a few hundred MB. I have no idea how to troubleshoot this, so any help would be much appreciated.
Code:

#!/bin/sh
# Backup description
fdesc='FORUMNAME'
# Backup filename
fname='BACKUPNAME'
# Destination directory (with trailing slash)
fdir=BACKUPDIR
# Database Settings:
fdb=DBNAME
fuser=DBUSERNAME
fpw=DBPASSWORD

echo "Backing up $fdesc database..."
tempname=$fdir$fname-`eval date +%Y-%m-%d`.sql
mysqldump --opt -quick -u$fuser -p$fpw $fdb > $tempname
echo "Gzipping $fdesc database..."
gzip $tempname
a=`eval date +%d`
a=`expr $a - 2`
echo "Deleting old backups... (Error messages are normal)"
tempname=$fdir$fname-`eval date +%Y-%m-`$a.sql.gz
rm $tempname
tempname=$fdir$fname-`eval date +%Y-%m-`0$a.sql.gz
rm $tempname

Yes, this is a generic script, without the actual relevant details for the particular site and server involved.
 

Read other answers
RELEVANCY SCORE 40

Hello,

I'm glad that you can hopefully help, because I've tried some things that don't help.

I've always been using the Weather Channel toolbar on the bottom right of my computer screen to view the tempurature, however the other day, my IE 6 was very slow and so I decided to restart the computer. When I restarted, I got a pop up script error window with a yellow triangle and an exclamation mark inside. Every time I tried to close the window, I had to click it again and again for the new script error windows to close, and finally they did. I didn't write the whole error down, but it was a script error that showed the file destination and that included the Weather Channel folder (http:www.......weatherchannel......), so I know that has something to do with my problem. When I opened IE 6, most sites were looking normal as usual, but when I went to You Tube, MetaCafe, and even when trying to play streaming audio, the web pages for these sites looked very unusual, almost raw (like there weren't completely programmed correctly). Some pictures wouldn't show and they had red X's. The disoriented pages only happened on these sites (and possibly others), but Google, Hotmail, and other sites looked normal.

I tried running my Symantec virus scan with no results, then I System Restored my computer a few times to different dates, and I even upgraded IE to 7, with no luck. At this time, I did not get any script error messages anymoresd, but the w... Read more

A:IE - Some Pages Not Working - Weather Channel Script Error

Read other 6 answers
RELEVANCY SCORE 40

Good day.
I work in an enterprise environment with IE11 and Google Chrome as available browsers. IE11 is configured with an automatic configuration script. On all computers but one, it works as expected.
On the problem machine I (and all other users) can access intranet sites but not internet sites while using IE11. If I remove the script name and enter the IP/Port of the proxy server in the proxy section, it works as expected. Google Chrome works as
expected and pulls the .pac info from IE. Chrome works whether the script or IP are used.
I have run GPUPDATE /FORCE, restarted the computer, run IE with no add-ons, reset IE settings (from the advanced tab on Internet Options), flushed the DNS, renewed the IP, tried accessing websites by IP rather than name.

Any help is greatly appreciated.
Thanks,
Liam

Read other answers
RELEVANCY SCORE 39.6

Have the following batch file:

cscript Myvb.vbs "C:\Users\%username%\AppData\LocalLow\file.ini" "Things" "Stuff"
vb script file:

Const ForReading = 1
Const ForWriting = 2

strFileName = WScript.Arguments(0)
strFindText = WScript.Arguments(1)
strNewText = WScript.Arguments(1) & vbCrLf & WScript.Arguments(2)

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(strFileName, ForReading)

strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, strFindText, stfFindText&strNewText)

Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
objFile.Write strNewText
objFile.Close

Set objFile = Nothing
and batch file to set ActiveSetup:
@echo off

REM copy batch file
xcopy Mybat.bat* %SYSTEMROOT%\
xcopy Myvb.vbs* %SYSTEMROOT%\

REM create active setup component to run batch file
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\MySetup" /v "Version" /t REG_SZ /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\MySetup" /v "StubPath" /t REG_SZ /d "%SYSTEMROOT%\Mybat.bat" /f

If mybat is executed manually, the file is edited fine. However, the file does not change after logging in. I undid the changes to the file and cleared the active setup registry entry in my profile between my tests.

Is there a permissions is... Read more

Read other answers
RELEVANCY SCORE 39.6

Hi,

Im trying to create a form using JS inside and IFrame and submit it using script here this approach works fine in FireFox but not IE7. could anybody help me on this please!

below is the script code im using

var ifSubmit = null;
try{
ifSubmit = document.frames(sessionID);
}catch(err)**
ifSubmit = document.getElementById(sessionID);
}
if(ifSubmit.contentDocument) **
doc = ifSubmit.contentDocument;
}else
if(ifSubmit.contentWindow) **
doc = ifSubmit.contentWindow;
}else
if (ifSubmit.document) **
doc = ifSubmit.document;
}
var tempDiv = document.createElement('div');
var paramEL = document.forms[form].getElementsByTagName('input');
var i = 0;
for(i; i < paramEL.length; i++)**
var param = paramEL[i];
if(param.type == 'hidden')**
var input = document.createElement('input');
input.type = param.type;
input.id = param.id;
input.value = param.value;
input.name = param.name;
tempDiv.appendChild(input);
}
}
var tempForm = '<form method="post" action="http://i-0358:8080/inf/eFocus/jsp/fqwidget">';
tempForm = tempForm + tempDiv.innerHTML;
tempForm = tempForm + '</form>';
alert(tempForm);
doc.open();
doc.write(tempForm);
doc.close();
if(ifSubmit.contentWindow) **
doc = ifSubmit.contentWindow.document;
}
doc.forms[0].submit();
... Read more

Read other answers
RELEVANCY SCORE 39.6

Hey all,

Well this place helped me write my first cmd script so i would like to share it with you all and hope you enjoy it.

This particular script allows you to back up selected files or folders from a client computer through to a server after answering a couple of questions.

Its a great script but unfortunantly i have no need for it as it does not meet our requirements any more (note i only wrote it last week ).

The script comes with a backup version, and a restore version... so the theory is that you can back up selected files and folders from one client to the server, then restore it from the server to a new client, all with simple prompts.

I have also commented throughout the batch file as much as i could so hopefully it should be fairly easy for any admin guys using it.

The items it backs up are:

My documents
Desktop
Favorites
All pst files on the system
NK2 file - outlook file that remembers email addresses when creating new email and entering email it automatically suggests previously used email addresses
Outlook signatures

Its easy to add extra things to this script aswell. Also it is fairly easy to create it to do all of the backups without any prompts...

basically this is a batch file that is simple, but i spend a day or so writing it, and im proud of my crappy script so if anyone can find any use for it please do try it.
(now i just have to work out how i upload it)...

Thank you and commends are definately welcome

Regards,
Ivan
 

Read other answers
RELEVANCY SCORE 39.2

Have the following batch file:

Code:
cscript Myvb.vbs "C:\Users\%username%\AppData\LocalLow\file.ini" "Things" "Stuff"
vb script file:

Code:

Const ForReading = 1
Const ForWriting = 2
strFileName = WScript.Arguments(0)
strFindText = WScript.Arguments(1)
strNewText = WScript.Arguments(1) & vbCrLf & WScript.Arguments(2)
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(strFileName, ForReading)
strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, strFindText, stfFindText&strNewText)
Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
objFile.Write strNewText
objFile.Close
Set objFile = Nothing
and batch file to set ActiveSetup:

Code:

@echo off
REM copy batch file
xcopy Mybat.bat* %SYSTEMROOT%\
xcopy Myvb.vbs* %SYSTEMROOT%\
REM create active setup component to run batch file
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\MySetup" /v "Version" /t REG_SZ /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\MySetup" /v "StubPath" /t REG_SZ /d "%SYSTEMROOT%\Mybat.bat" /f
If mybat.bat is executed manually, the file is edited fine. However, the file does not change after logging in. I undid the changes to the file and cleared the active setup registry entry in my profile between my tests. Is there a permi... Read more

Read other answers
RELEVANCY SCORE 39.2

hi I have a script error when I try to open Medieval total war. I am on windows vista basic 32-bit.

here is the script error
> line: 9
> char:1
> error: syntax error
> code:0
> url: http://204.155.67.203/med2/M2TWLauncher/launcher.php
language=english

can anyone help me with this problem?
 

A:script error caused launcher.exe to stop working for medieval total war

hello?
 

Read other 1 answers
RELEVANCY SCORE 39.2

Have the following batch file:

Code:
cscript Myvb.vbs "C:\Users\%username%\AppData\LocalLow\file.ini" "Things" "Stuff"
vb script file:

Code:

Const ForReading = 1
Const ForWriting = 2
strFileName = WScript.Arguments(0)
strFindText = WScript.Arguments(1)
strNewText = WScript.Arguments(1) & vbCrLf & WScript.Arguments(2)
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(strFileName, ForReading)
strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, strFindText, stfFindText&strNewText)
Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
objFile.Write strNewText
objFile.Close
Set objFile = Nothing
and batch file to set ActiveSetup:

Code:

@echo off
REM copy batch file
xcopy Mybat.bat* %SYSTEMROOT%\
xcopy Myvb.vbs* %SYSTEMROOT%\
REM create active setup component to run batch file
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\MySetup" /v "Version" /t REG_SZ /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\MySetup" /v "StubPath" /t REG_SZ /d "%SYSTEMROOT%\Mybat.bat" /f
If mybat.bat is executed manually, the file is edited fine. However, the file does not change after logging in. I undid the changes to the file and cleared the active setup registry entry in my profile between my tests. Is there a permi... Read more

Read other answers
RELEVANCY SCORE 38

The following pop up error message appears when I try to double-click on an external drive from My Computer:Windows Script HostCan not find script file "H:/FS6519.dll.vbs"I have posted my hijack this log. Any help would do, thank you.Logfile of Trend Micro HijackThis v2.0.2Scan saved at 3:51:43 PM, on 2/2/2008Platform: Windows XP SP2 (WinNT 5.01.2600)MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)Boot mode: NormalRunning processes:C:\WINDOWS\System32\smss.exeC:\WINDOWS\SYSTEM32\winlogon.exeC:\WINDOWS\system32\services.exeC:\WINDOWS\system32\lsass.exeC:\WINDOWS\system32\svchost.exeC:\WINDOWS\System32\svchost.exeC:\WINDOWS\Explorer.EXEC:\WINDOWS\system32\spoolsv.exeC:\WINDOWS\SOUNDMAN.EXEC:\Program Files\Thomson\SpeedTouch USB\Dragdiag.exeC:\Program Files\Common Files\InstallShield\UpdateService\issch.exeC:\Program Files\Java\jre1.6.0_03\bin\jusched.exeC:\Program Files\iTunes\iTunesHelper.exeC:\Program Files\Yahoo!\Yahoo! Music Jukebox\ymetray.exeC:\Program Files\Last.fm\LastFMHelper.exeC:\Program Files\Yahoo!\Messenger\ymsgr_tray.exeC:\Program Files\Common Files\Apple\Mobile Device Support\bin\AppleMobileDeviceService.exeC:\Program Files\Alcohol Soft�... Read more

A:Displays Error: Windows Script Host, Can Not Find Script File "h:/fs6519.dll.vbs"

Welcome to the BleepingComputer HijackThis Logs and Analysis forum. My name is Richie and i'll be helping you to fix your problems.Apologies for the late response,as i'm sure you can appreciate we are extremely busy.If you've already recieved help at another forum and your issues have been resolved,or you're presently recieving help elsewhere then please let us know.If you have not followed the info in the link below prior to posting your log then please do so now:Preparation Guide for use before posting a HijackThis Log:http://www.bleepingcomputer.com/forums/t/34773/preparation-guide-for-use-before-using-malware-removal-tools-and-requesting-help/If you still require help,please post a new Hijackthis log into this topic in your next reply.Also post a detailed description of the issues you're experiencing.*Note*Post all reports/logs directly into this topic,not as attachments,thanks.

Read other 1 answers
RELEVANCY SCORE 37.6

I already tried to scan my computer with avg anti-spyware but i can't save the report. I also tried panda to scan my computer but it won't push through with the scan, i don't know why. the only log file i can give is from hijackthis.exe program. please please please help me regarding my present situation. Attached is my log file with hijackthis program:

Logfile of HijackThis v1.99.1
Scan saved at 3:06:06 PM, on 4/3/2007
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v7.00 (7.00.6000.16414)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\Program Files\Windows Defender\MsMpEng.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\Intel\Wireless\Bin\EvtEng.exe
C:\WINDOWS\Explorer.EXE
C:\Program Files\Intel\Wireless\Bin\S24EvMon.exe
C:\WINDOWS\system32\spoolsv.exe
C:\Program Files\Grisoft\AVG Anti-Spyware 7.5\guard.exe
C:\PROGRA~1\Grisoft\AVG7\avgamsvr.exe
C:\PROGRA~1\Grisoft\AVG7\avgupsvc.exe
C:\PROGRA~1\Grisoft\AVG7\avgemc.exe
C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\MDM.EXE
C:\Program Files\Intel\Wireless\Bin\RegSrvc.exe
C:\Program Files\Analog Devices\SoundMAX\SMAgent.exe
C:\WINDOWS\system32\svchost.exe
C:\Program Files\Viewpoint\Common\ViewpointService.exe
C:\Program Files\Analog Devices\SoundMAX\SMTray.exe
C:\PROGRA~1\Grisoft\AVG7\avgcc.exe
C:\Program Files\Grisoft\AVG Anti-Spyware 7.5\avgas.exe... Read more

A:I HAVE THE SAME PROBLEM...Windows Script Host:Can not find script file C:\autorun.vbs

Cookigal, I already tried to scan my computer with avg anti-spyware but i can't save the report. I also tried panda to scan my computer but it won't push through with the scan, i don't know why. the only log file i can give is from hijackthis.exe program. please please please help me regarding my present situation thanks....

Attached is my log file with hijackthis program:

Logfile of HijackThis v1.99.1
Scan saved at 3:06:06 PM, on 4/3/2007
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v7.00 (7.00.6000.16414)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\Program Files\Windows Defender\MsMpEng.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\Intel\Wireless\Bin\EvtEng.exe
C:\WINDOWS\Explorer.EXE
C:\Program Files\Intel\Wireless\Bin\S24EvMon.exe
C:\WINDOWS\system32\spoolsv.exe
C:\Program Files\Grisoft\AVG Anti-Spyware 7.5\guard.exe
C:\PROGRA~1\Grisoft\AVG7\avgamsvr.exe
C:\PROGRA~1\Grisoft\AVG7\avgupsvc.exe
C:\PROGRA~1\Grisoft\AVG7\avgemc.exe
C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\MDM.EXE
C:\Program Files\Intel\Wireless\Bin\RegSrvc.exe
C:\Program Files\Analog Devices\SoundMAX\SMAgent.exe
C:\WINDOWS\system32\svchost.exe
C:\Program Files\Viewpoint\Common\ViewpointService.exe
C:\Program Files\Analog Devices\SoundMAX\SMTray.exe
C:\PROGRA~1\Grisoft\AVG7\avgcc.exe
C:\Program Files\Grisoft\AVG Anti-... Read more

Read other 1 answers
RELEVANCY SCORE 37.6

'></img><img src=x onerror=confirm(/BUG/)>/</textarea><ScRiPt>prompt(/BUG/)</ScRiPt>'><iframe/onload=alert(document.domain)//

Read other answers
RELEVANCY SCORE 37.6

Here is my Hijack this log file. I did everything listed but I am having issues with the way pages load or don't load properly while on the internet. Cannot read the words very well, sometimes they are overwritten , sometimes they are huge or the writing is too thin to be read easily. For example, when I load a newpaper like NY Times, the columns are squeezed in the middle of the screen and isn't displayed so it is readable columns overlap and words and photos overlap or are sqeezed into a narrow column. I have downloaded new drivers for the display, played with display properties and cannot seem to find the problem. Wondering if it is a bug or virus or worm or something. I am really not a geek, so I need help. I don't know how to mess with registry things, so I use Registry Mechanic. But it has not fixed this problem. I get runtime error codes and it asks me if I want to debug... mostly script errors. I ahve no clue about debugging, so I don't do it. Anyhow, any help would be appreciated!!!Thanks! Here is the log file: Logfile of HijackThis v1.99.1Scan saved at 10:46:34 PM, on 5/15/2006Platform: Windows XP SP2 (WinNT 5.01.2600)MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)Running processes:C:\WINDOWS\System32\smss.exeC:\WINDOWS\system32\winlogon.exeC:\WINDOWS\system32\services.exeC:\WINDOWS\system32\lsass.exeC:\WINDOWS\system32\Ati2evxx.exeC:\WINDOWS\system32\sv... Read more

A:Script Errors And Weird Script, Overwriting And Hard To Read

Hi travlinrose and welcome to Bleeping. Sorry for the long wait. If you haven't got to the bottom of this problem yet, can I ask you to install a different browser and let me know if you still experience the same problems please.Try Mozilla FirefoxIf that works we at least know it's a problem with IE.

Read other 5 answers
RELEVANCY SCORE 37.6

Cookigal, I already tried to scan my computer with avg anti-spyware but i can't save the report. I also tried panda to scan my computer but it won't push through with the scan, i don't know why. the only log file i can give is from hijackthis.exe program. please please please help me regarding my present situation thanks....

Attached is my log file with hijackthis program:

Logfile of HijackThis v1.99.1
Scan saved at 3:06:06 PM, on 4/3/2007
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v7.00 (7.00.6000.16414)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\Program Files\Windows Defender\MsMpEng.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\Intel\Wireless\Bin\EvtEng.exe
C:\WINDOWS\Explorer.EXE
C:\Program Files\Intel\Wireless\Bin\S24EvMon.exe
C:\WINDOWS\system32\spoolsv.exe
C:\Program Files\Grisoft\AVG Anti-Spyware 7.5\guard.exe
C:\PROGRA~1\Grisoft\AVG7\avgamsvr.exe
C:\PROGRA~1\Grisoft\AVG7\avgupsvc.exe
C:\PROGRA~1\Grisoft\AVG7\avgemc.exe
C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\MDM.EXE
C:\Program Files\Intel\Wireless\Bin\RegSrvc.exe
C:\Program Files\Analog Devices\SoundMAX\SMAgent.exe
C:\WINDOWS\system32\svchost.exe
C:\Program Files\Viewpoint\Common\ViewpointService.exe
C:\Program Files\Analog Devices\SoundMAX\SMTray.exe
C:\PROGRA~1\Grisoft\AVG7\avgcc.exe
C:\Program Files\Grisoft\AVG Anti-... Read more

A:Windows Script Host: Can not find script file c:\autorun.vbs

this is the 3rd post about the same problem

you will not get faster help tagging on to other threads or continually posting

other posts here
http://forums.techguy.org/security/557813-i-have-same-problem-windows.html

someone will get round to helping you. Just wait your turn
 

Read other 1 answers
RELEVANCY SCORE 37.2

Quote:




The script action, Get Windows Installer Property, can only be used ina script that is executed by Wise for Windows Installer.




This error happens when I try to install Half-Life2 on my new computer.
I have no idea what it means....

Also, When I try to update steam, it get's to 26%, then quits.
When I try to update Joint Operations, it opens the update window, then closes it without doing anything.

Is there an easy way to fix this or should I just reformat?

Read other answers
RELEVANCY SCORE 37.2

I'm currently trying to use my LG Rumor 2 to act as a modem for a dialup connection with my bluetooth capable computer. Everything is working great but my university, which I'm trying to connect to, requires a ppp script setup and I need to use the terminal window. So the computer dials correctly and everything works but when the terminal window appears I can't type anything although the text field appears for the username. Also, within a few seconds of the terminal window appearing I get the error "The Script has Halted." I can however right click and paste in text (but i don't know if that's relevant). Here is what I see:


Any suggestions?

A:Trying to Dial-Up via Bluetooth with a PPP script error: The Script has Halted

Any ideas?

Read other 1 answers
RELEVANCY SCORE 37.2

Hey guys.

just finished formating my computer (using the built in windows 8 feature). once it was up and running i uninstalled all the built in stuff lenovo brings with the computer using revo uninstaller. in the procces i also removed all registry and files those programs left.. but now theres a probelm:

this pops up every once in a while. usually when i install something. note that this is just one messege out of two! the other one looks the same but reffers to a different file - Lenovo-25207.vbs which sits in the same folder.

any ideas?

Tank out.

A:windows script host problem, cant find script

Originally Posted by tankpopper


Hey guys.

just finished formating my computer (using the built in windows 8 feature). once it was up and running i uninstalled all the built in stuff lenovo brings with the computer using revo uninstaller. in the procces i also removed all registry and files those programs left.. but now theres a probelm:

this pops up every once in a while. usually when i install something. note that this is just one messege out of two! the other one looks the same but reffers to a different file - Lenovo-25207.vbs which sits in the same folder.

any ideas?

Tank out.



Right click the .vbs file - open with notepad - check the second line for a file/folder reference - and then see whether that file/folder exists....

Read other 7 answers
RELEVANCY SCORE 37.2

Hello & Thanks ,
win7 x64
Starting yesterday , I keep getting the following message:
Windows Script Host
Can not find script file "C:\ProgramData\{95137DD0-C591-AC56-7417-DCD4A4950F5A}\2.0.1.9\lare.txt".
Any idea why and how to fix it ?
Thanks/
...Vern

Tags: win7 x64, mobiles game, ringtones download

A:Windows Script Host: Can not find script file ?

Try a System Restore to a date prior to the issue - System Restore

Read other 1 answers
RELEVANCY SCORE 37.2

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Read other answers
RELEVANCY SCORE 37.2

I keep receiving this error everytime starting up my laptop. Can anyone help me?

really appreciate it.
sorry for my bad engrish.

Read other answers
RELEVANCY SCORE 36.4

Hi All
 
This script was found in LAN settings, can anyone tell me what it will do? I Googled SIZLSearch and found it is adware. I wish I was better at programming.
 
file://C:\Program Files (x86)\SIZLSearch\bin\PAC9064.js
 
Thanks, Doug

Read other answers
RELEVANCY SCORE 36.4

Hello everyone!

It has been a while since I have been on here. I have had a few computer problems that I had to work through, and once again I had to do a Factory Condition System Reset. The second time in jut over a year. They did not know what was causing my problem. I talked to both Dell; my computer manufacturer and Microsoft who made Windows Vista. They boh could not figure out what was causing my problems. Microsoft recommended to go to my computer manufacturer. And Dell just said to do the complete System Reset, Also Known As: Factory Condition Restore.

Back to my questions about Script debugging and Script errors. Every once in a while I have Windows notify me of the Script errors. Also sometimes when I go to view a webpage or enter a website a message will pop-up saying that a script error occured that could prevent me from viewing the page properly and asks me if I want to continue. I do have: "Disable Script debugging?" checked for both "Internet Explorer" and "Other". I also get a little note in the lower left hand corner saying: "Done, but with errors on page."

My first question is: What the heck is Script debugging?

Second question is: What can I do about the Script errors that occur?

Third: Why do script errors occur or what causes them? I know there can be millions of reasons that they occur, but what are the most common ones?

Fourth: Is there anything that can be done to fix them from the viewer'... Read more

Read other answers
RELEVANCY SCORE 36.4

<script>prompt(document.domain)</script>

Read other answers