I have the "replace.vbs" file saved to C:\Windows.
I use it to find and replace strings in text files.
Command line Syntax:
replace.vbs OLDSTRING NEWSTRING C:\file.txt
How can I modify the replace.vbs script to delete the string rather than replace it with another string?
I have very little...
My OS is Windows XP Pro SP3
How can I combine these two VBScripts, StartYahoo.vbs and MinYahoo.vbs into one VBScript,
StartYahooMin.vbs without getting an "Illegal Assignment 'shell" Error from the line below?
set shell = createobject("wscript.shell"
These two scripts when run as separate...
Does anyone know how to write a script that would specifically
copy a file "File.ext" to the clipboard and paste it to this
"My Script.vbs" file?
I do not mean editing the VBScript file. I currently right click
"File.ext" select "Copy" then right click "My Script.vbs" and
select "Paste".
I...
My OS is XP-Pro SP3
I use the two command lines below to start Firefox with a desired profile.
"C:\Program Files\Mozilla Firefox\firefox.exe" -p STEVE
"C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -p JANE
This script will start Firefox using the default profile...
My OS is XP-Pro SP3
I use the VB Script shown below to quickly kill applications when I don't want them loading at startup. This VB Script seems to kill the applications much faster than running a batch file to start taskkill.exe. However I would rather not have to click the "OK" button...
My OS: XP-PRO SP3
I use the VBScript below to copy files and folders to different drives. This script allows my folders to retain their custom icons when copied. One of the destination folders "N:\APPS" is on a USB flash drive . I have discovered if my flash drive is not connected the script...
I have XP-Pro SP3 with Power Shell installed.
I need a script I can drag and drop files and folders onto that will copy them maintaining the attributes of the source.
Specifically most of my folders have distributable custom icons. Each folder contains both a "desktop.ini" file and an...
How can I combine these 10 vbs files into 1 vbs file and include "On Error Resume Next"?
To delete these folders:
C:\Profiles\STEVE\extensions
D:\Profiles\STEVE\extensions
I use the following 2 scripts:
CODE
Set objFS = CreateObject("Scripting.FileSystemObject")
If...
How can the script below be modified so when a folder is copied to the
destination and a folder exits there with the same name, it will completely REPLACE the old folder
instead of merging with it and only overwriting files with the same name...
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.