Search found 22 matches

by Batch Artist
09 Jan 2014 20:11
Forum: DOS Batch Forum
Topic: How do I abort a program that keeps shutting down the PC?
Replies: 8
Views: 8476

Re: Help!!!!!

1. Press "Ctrl Alt Del" once the PC has booted up. 2. Close the Batch File. If that doesn't work or the File is not located in the tab follow these steps, but you'll have to be FAST to get it done! 1. Open 'CMD' in the Run/Search bar. 2. Type "-a shutdown". (Which stands for 'abo...
by Batch Artist
09 Dec 2013 03:52
Forum: DOS Batch Forum
Topic: CPU
Replies: 2
Views: 3806

Re: CPU

npocmaka_ wrote:check logman -> http://ss64.com/nt/logman.html and typeperf (could be not available in home editions of windows)-> http://ss64.com/nt/typeperf.html


Thank you very much! It was of great help! I got it, eventually! Thanks!
by Batch Artist
08 Dec 2013 18:59
Forum: DOS Batch Forum
Topic: CPU
Replies: 2
Views: 3806

CPU

Hello, I would like be able to observe my CPU usage in a batch file, is this possible and can anyone help me with a code please?

Much thanks, Batch Artist.
by Batch Artist
02 Dec 2013 16:26
Forum: DOS Batch Forum
Topic: text msg encrypter
Replies: 5
Views: 5797

Re: text msg encrypter

You may use a technique, described here to do what you want: http://www.dostips.com/forum/viewtopic.php?f=3&t=5050 : @echo off setlocal enableDelayedExpansion set "code[a]=7" set "code[b]=x" set "code[c]=h" set "code[d]=4" set "code[e]=a" set &q...
by Batch Artist
16 Nov 2013 04:32
Forum: DOS Batch Forum
Topic: Calculator
Replies: 12
Views: 10022

Re: Calculator

I have a couple of comments, Batch Artist. Using /i makes the compare case insensitive so you don't need multiple statements, and using double quotes protects against errors when no input is entered (and the variable is blank), as well as if two words were entered. if /i "%m%"=="y&qu...
by Batch Artist
16 Nov 2013 04:32
Forum: DOS Batch Forum
Topic: Calculator
Replies: 12
Views: 10022

Re: Calculator

Squashman wrote:Batch Artist,
Your script will not work with numbers larger than 2,147,483,647.

Ahhh, I gotta look into that. Thank you!
by Batch Artist
15 Nov 2013 01:22
Forum: DOS Batch Forum
Topic: Calculator
Replies: 12
Views: 10022

Re: Calculator

:CalculatorProgram @echo off color C :root cls echo ==================================== echo =Welcome To CMD Calculator by PROXY= echo ==================================== echo Press 1,2 or 3 for menus echo 1.) Calculator echo 2.) Instructions echo 3.) Info set /p != if %!% == 1 goto Calculator if...
by Batch Artist
25 Oct 2013 23:15
Forum: DOS Batch Forum
Topic: [code] Batch Clock Widget
Replies: 51
Views: 101282

Re: [code] Batch Clock Widget

Pretty sweet and code works like a charm!
Well damn good job on the widget. It is really impressive!
by Batch Artist
25 Oct 2013 05:36
Forum: DOS Batch Forum
Topic: Clock
Replies: 3
Views: 4527

Re: Clock

Adrianvdh wrote:How about one the ticks?

Code: Select all

@echo off
:loop
cls
echo %time%
goto loop


Very true, and you can also add colouring into it aswell. E.G...

Code: Select all

@echo off
:Loop
CLS
ECHO %time%
color A
color B
color C
color D
color E
color F
color 9
GOTO Loop
by Batch Artist
23 Oct 2013 07:08
Forum: DOS Batch Forum
Topic: .Bat that runs .VBS
Replies: 2
Views: 2966

Re: .Bat that runs .VBS

Here are two methods. The second one requires that the .VBS filespec is associated already. @echo off cscript /nologo "c:\folder\filename.vbs" @echo off start "" "c:\folder\filename.vbs" Thanks again Foxidrive! Like usual your codes worked like charms! Thank you very m...
by Batch Artist
23 Oct 2013 03:55
Forum: DOS Batch Forum
Topic: .Bat that runs .VBS
Replies: 2
Views: 2966

.Bat that runs .VBS

Hello guys, I just needed a little bit of help. I was wondering if it was possible that a Batch file could start a .VBS file when I give the command to in the batch. I'm just experimenting with my knowledge of batch and seeing where I can improve on my coding skills.

Thanks in advance to all!
by Batch Artist
23 Oct 2013 03:52
Forum: DOS Batch Forum
Topic: "Just in time"
Replies: 11
Views: 9315

Re: "Just in time"

WOOHOO i got it to work thank you all for you're help! here is the working code :3 @echo off Setlocal EnableDelayedExpansion :1 cls echo %time% echo msg will be send @ 09:05 if "%time:~0,5%"=="13:16" msg * pauze pik ping localhost -n 2 >NUL goto 1 Congrats are in order!
by Batch Artist
23 Oct 2013 03:44
Forum: DOS Batch Forum
Topic: Batch to reboot if program stops responding
Replies: 4
Views: 4702

Re: Batch to reboot if program stops responding

I am very new to writing batch files. I have program that is running constantly at work. The program keeps freezing up throughout the day. There are several of these kiosks that have this problem all at different various locations across the province. They run on touchscreen and the computer that r...
by Batch Artist
23 Oct 2013 03:40
Forum: DOS Batch Forum
Topic: How to create a option menu
Replies: 10
Views: 10226

Re: How to create a option menu

Here is a header format I like to use with menus :HEADER MODE CON: COLS=80 LINES=50 COLOR 1E SET DISPLYDT=10/22/2012 SET "DAYOFWK=TUESDAY " SET "DAYOFWK=%DAYOFWK:~0,9%" ECHO. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ECHO ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ Menu Selection Utility ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ...
by Batch Artist
22 Oct 2013 22:35
Forum: DOS Batch Forum
Topic: How to create a option menu
Replies: 10
Views: 10226

Re: How to create a option menu

modified version of dbenham: - added contour - auto center - auto resize demo with coiche commented, untested: :: dbenham StackOverflow Oct 18 2013 :: modified by einstein1969 @echo off setlocal enableDelayedExpansion rem set "cols=80" set "cols=40" set "lines=30" :loo...