Search found 5 matches

by matt12582
06 Nov 2011 01:35
Forum: DOS Batch Forum
Topic: Help in regard to my post of "setting next line to variable"
Replies: 8
Views: 8465

Re: Help in regard to my post of "setting next line to varia

Rileyh I'm new to FOR loops but it seems like this might get the job done for /f " tokens=1-4," %%i in ('ping google.com') DO SET VAR1=%%i SET VAR2=%%j SET VAR3=%%k SET VAR4=%%l gives me this C:\>for /f " tokens=1-4," %i in ('ping.exe google.com') DO SET VAR1=%i SET VAR2= %j SET ...
by matt12582
03 Nov 2011 00:29
Forum: DOS Batch Forum
Topic: Change batch cmd size (pixels)
Replies: 2
Views: 4784

Re: Change batch cmd size (pixels)

don't know if it would apply for what you're trying to do, but I learned a few years back an easy way of applying attributes like size, position, color etc, was just to launch a batch from a shortcut, just change them in the layout tab you can also launch additional CMD windows from within a batch j...
by matt12582
02 Nov 2011 23:55
Forum: DOS Batch Forum
Topic: New to Forum - killing commands before default timeout
Replies: 6
Views: 6213

Re: New to Forum - killing commands before default timeout

not so much a hang, but the command will pause execution for 10-15 seconds while it waits to output that the RPC service is unavailable etc, before going on to my next GOTO I redirected the command output to text files as aGerman had suggested, seems to be fairly quick offhand, as most of the server...
by matt12582
02 Nov 2011 13:38
Forum: DOS Batch Forum
Topic: New to Forum - killing commands before default timeout
Replies: 6
Views: 6213

Re: New to Forum - killing commands before default timeout

so something like START /B QWINSTA /Server:ismeta01 %profile% >%temp%\ismeta01.txt for each command then once it kicks off the last command something like :results TYPE ISMETA01.txt ECHO ---------------------- TYPE ISMETA02.txt it seems to make sense in my head, I'll let you know what happens when I...
by matt12582
02 Nov 2011 12:10
Forum: DOS Batch Forum
Topic: New to Forum - killing commands before default timeout
Replies: 6
Views: 6213

New to Forum - killing commands before default timeout

I write batch occasionally for fun occasionally for work I'm handy with Win_32 command line but still need some help occasionally I've been writing a few scripts for work as of late and am looking for some help in tweaking them one script I have looks for an RDP session with QWINSTA it searches abou...