Relative Content

Tag Archive for vbscript

replace long dash character from file names in vbs

I need to replace several special characters from file names. All works except for the long dash which doesnn’t seem to be detected by the script. How do I do it?
you can see in the screenshot the file above has long dash (not recognized) while the bottom file has a short dash (working fine with the script)
enter image description here

Error 0x80041017 on VBScript when using “For”

I have a problem, I was making a “ransomware” using VBScript, but the problem is that when the VBScript file, it’s shows the error: “0x80041017” at line 23 char 1. Here is the line 23 code; For Each objFile in colFiles;

Can’t get file names from folder in Visual Basic

I’m trying to make really basic script to scan folder for files and output their names in one string separated by “|” like “FileNameOne|FileNameTwo|etc”. But my script does not work and I have absolutely no idea why.

Vb Script Help needed

How can I divide two ranges (which are on two different spreadsheets) using variables for the Row number? I tried following codes