Hello everyone. I am new to this list and need some help. I have been doing some research regarding interactivity options with Batch files. I am looking for...
Hello, Assuming you are working in Windows NT/2000, I would go with this: ******************** @echo off REM This will render all possible combinations of...
Mick is right, the Windows scripting host will do what you want. Here is an example of how I pop up script independent info windows: ================= dim...
Ken - would the example you mention below allow for user input to the questions asked? Also, forgive my ignorance, but what is the "Windows scripting host"? ...
On Mon, 02 Jun 2003 14:49:12 -0000, Sam Wallace wrote: Hi Sam, ... [snip] I was interested to see your code, and coz I couldn't figure out how it worked by...
I optimised it a little for speed. Takes a 450 MHz pc ~1 minute. ... @echo off if exist input?.txt del input?.txt set var=1 2 3 4 5 6 FOR %%a IN (%var%) DO...
Yes you could do that, it's just a Visual Basic script. I'm not a VB programmer, that example was shown to me and I've been using it a lot. WSH or Windows...
this stuff is really cool! Thanks for posting a simple example and how to run it. So many times folks can never get startted in someting new because we have...
Speaking of all this action script stuff, does anyone know how to use vbscript (run via cscript) to copy a string (like "Hello World" to the windows clipboard?...
I have tried both of your suggestions from the Command prompt and get either a "syntax" error for Jolly's or a "Unterminated String Constant" from Ken's. Any...
Try this...save it to a text file with .vbs as the extension. At a command prompt, run: cscript scriptname.vbs '--- BEGIN SCRIPT --- Dim input input =...
No need to apologize. NO ONE can be an expert on everything about the computer. I know, I started on them back in 1964!!! And I still learn sometning new ...
Josh, that looks great. Unfortunately, this gets me back to VB, which I know very little about. Is it safe to say I would need to understand quite a bit ...
Hi Michael, I looked at what he said and the examples and came up with a way of producing unique combinations of entries in a text file. So a result of...
Actually, it's just VBScript which is a subset of VB and doesn't require a compiler. It is fairly simple to learn, at least the basics, no pun intended....
... I'm keen to get a toe-hold into VBscript but I prefer local documentation rather than web based. After a quick search I found "msdn's 32-bit VBScript...
... I just tried this code and have two questions: 1) How would I go about formatting the code so it doesn't exceed 75 characters 2) how does one break out of...
... Syntax error generally means that you made a typing blunder and Gerry has already mentioned the other one - which does indicate, by default, that you do...
You will have to go with KIX32 or similar program. This is a 'rich' DOS add on. There are others but you will not be disappointed in spending the time to...
Here is a link for the downloadable version of the documentation. It includes the docs for: - VBScript - JScript - Windows Script Host - Windows Script...
1) You can replace Chr(10) & Chr(13) with vbCrLf which is an internal constant to VBScript. You could also use the line continuation character to break the...
... That's useful. Thanks. ... You stratigically omitted a closing parenthesis, to see if I was paying attention! :) In 2) I was referring to a method of...
... Oops! Good catch! ... If you run your script with CSCRIPT, then I believe Ctrl+C will break out. If you run with WSCRIPT, you'll have to kill it from...
I want to get the output from one batch file to be the input for a second, which is proving difficult. So far I've got in the first one : dir c:\%1.class/s/b...
Hi all, I need a way to have my batch file wait or pause for a certain amount of time and then resume execution of its commands. I don't want any user input....