0
votes
1answer
18 views

VBS issue for writing a file

Here is what I am trying to do. The script reads a text file for computer names one at a time. Checks to see if a program.lnk exists. If the link exists it copies a new link to that computer/users ...
0
votes
1answer
18 views

Issue with MoveFile method to overwrite file in Destination in vbscript?

I have a vbscript that I have written to move files from a source directory to a destination directory. The way the script works at the moment is that I have a mapping file which is read in (maps id's ...
2
votes
0answers
30 views

VB Script accented characters coming out as “Chinese” looking script?

I'm writing a VB script to replace words in a word doc. The crux of the code is: strEuropeanOld="European" strEuropeanNew="Européen" I then replace the word: If InStr(FileText, strEuropeanOld) ...
0
votes
2answers
34 views

VBS Scripting Error

I apologize in advance for my "newness" to vbs. I am trying to run this script to search for all pst files on my file server. At this point, I am getting this error: searchpst.vbs(6, 26) Microsfot ...
0
votes
1answer
21 views

Microsoft Script Control - Expected “Then”

I've been developing some software to help organize my files better. To do this I have developed a script generator using Microsoft Script Control that then runs on files in a directory and returns a ...
0
votes
1answer
70 views

How to run a VBscript that uses installShield API?

I am trying to create a script that will automate the process of creating an installShield object. I have selected to develop it with VBScript because the Automation Api is very helpful for vbs ...
0
votes
4answers
73 views

Script to move first 3 characters of filename to the end

I have a directory full of files that I need to rename. For each file, I need to take the first three characters of the filename and move them to the end of the filename before the extension. So ...
0
votes
2answers
109 views

VBScript to color input text field

I have the below code. I have an input text field which has an example value grey colored. When clicking on the field, the text is erased and color is set to black. Then, after it finishes some ...
-3
votes
0answers
44 views

Stdin for a vbscript via cscript from cmd? [closed]

I'm a bit stuck on this, but I imagine it's fairly simple. In the following command stdin doesn't seem to get passed to the script, giving "file not found". Can anyone help to correct my command? ...
-2
votes
0answers
41 views

Is it Harm to the system…?

In my web application, I need to confirm whether the user logged out before shutting down the system. I added a VBScript to handle the shutdown. Given the below VBScript I am using, will I do any harm ...
-3
votes
2answers
109 views

retrieve data from html code with vbscript

I have a problem - I have an URL: like (http:://exampl.com/example) and when I open this page in browser I see a table with vertain values. Here is a HTML code: <p> <table> ...
1
vote
1answer
29 views

Need to know how to skip over a subfolder in VBScripit

I am horrible at writing VBScript and I have a question that should be pretty simple for anyone who has any experience writing VBScript code. I have a script file that parses the file system starting ...
-1
votes
0answers
51 views

Checks folder every minute then prints

I'm a VB script newbie and am trying to develop script that checks a folder every minute then prints to a default printer. This is what I have so far to play with however I am not sure what I should ...
0
votes
2answers
60 views

Script Works on Win 7, Not on Server 2003

I have a script that is rather simple, it boots up WinSCP and checks the directory for a file that starts with "TSA". If the file exists, it exits, if it does not exist, it transfers over a new file. ...
0
votes
1answer
92 views

call back to C# function from within VBScript run with msscript.ocx

I want to use msscript.ocx to call VBScript from C#, and allow the VBScript code to call back to functions in the C# program. For example, in the following VBScript code, Clicktext is a custom C# ...

1 2 3 4 5 8
15 30 50 per page