... Describe your OS and 2nd batch file. I have a feeling one batch file will serve the purpose. -- Regards, Michael...
3214
Lamar Morris
lamarmorrist...
Jun 4, 2003 2:23 pm
Use sleep.exe from the resource kit. Usage: sleep time-to-sleep-in-seconds Lamar ... From: Kevin Bachelder [mailto:kbachelder@...] Sent: Wednesday,...
3213
Kevin Bachelder
krbachelder
Jun 4, 2003 2:16 pm
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....
3212
transportcontrol
transportcon...
Jun 4, 2003 1:55 pm
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...
3211
Josh Fitzgerald
aphoric
Jun 3, 2003 3:23 pm
... 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...
3210
Michael Marquart
foxidrive
Jun 3, 2003 3:12 pm
... 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...
3209
Josh Fitzgerald
aphoric
Jun 3, 2003 1:21 pm
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...
3208
Josh Fitzgerald
aphoric
Jun 3, 2003 12:27 pm
Here is a link for the downloadable version of the documentation. It includes the docs for: - VBScript - JScript - Windows Script Host - Windows Script...
3207
Mr Chris Padilla
chrispyflakes
Jun 3, 2003 5:20 am
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...
3206
Michael Marquart
foxidrive
Jun 3, 2003 4:35 am
... 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...
3205
Michael Marquart
foxidrive
Jun 3, 2003 4:24 am
... 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...
3204
Michael Marquart
foxidrive
Jun 3, 2003 4:11 am
... 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 "msdn39;s 32-bit VBScript...
3203
Josh Fitzgerald
aphoric
Jun 3, 2003 1:47 am
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....
3202
Sam Wallace
guillaumedep
Jun 3, 2003 1:35 am
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...
3201
veganman
veganman23
Jun 3, 2003 1:33 am
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 ...
3200
Rob Hoover
bobthetechie
Jun 3, 2003 1:28 am
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 ...
3199
Josh Fitzgerald
aphoric
Jun 3, 2003 1:23 am
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 =...
3198
G. J. Pareja
gjpareja
Jun 2, 2003 11:57 pm
Hi. Don't let it word-wrap. The script below is only 3 lines of text. Gerry Pareja (Vancouver, Canada)...
3197
veganman
veganman23
Jun 2, 2003 11:48 pm
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...
3196
veganman
veganman23
Jun 2, 2003 11:13 pm
OK guys. I really apologize for my ignorance about VB. That is why I am trying to stick with DOS if possible. Therefore, is there any way to have ...
3195
Jolly Green Giant
hurricanedavid
Jun 2, 2003 9:20 pm
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?...
3194
Jolly Green Giant
hurricanedavid
Jun 2, 2003 8:58 pm
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...
3193
kcmjr@...
kcmjr
Jun 2, 2003 6:45 pm
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...
3192
Michael Marquart
foxidrive
Jun 2, 2003 5:55 pm
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...
3191
Michael Marquart
foxidrive
Jun 2, 2003 5:30 pm
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...
3190
veganman23
Jun 2, 2003 4:55 pm
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"? ...
3189
kcmjr@...
kcmjr
Jun 2, 2003 4:13 pm
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...
3188
Sam Wallace
guillaumedep
Jun 2, 2003 2:49 pm
Hello, Assuming you are working in Windows NT/2000, I would go with this: ******************** @echo off REM This will render all possible combinations of...
3187
Michael Marquart
foxidrive
Jun 2, 2003 3:45 am
... I think Windows scripting host can do what you want. -- Regards, Michael...
3186
veganman23
Jun 1, 2003 8:41 pm
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...