Search found 233 matches

by Dos_Probie
06 Jun 2012 07:27
Forum: DOS Batch Forum
Topic: [help]Batch Script to Toggle Numlock?
Replies: 5
Views: 3514

Re: [help]Batch Script to Toggle Numlock?

The point about VBS scripts is not valid Point taken, I Do use .vbs a lot and ALWAYS fully test before I go Live, but what I should HAVE said is if for example the .vbs is dependent on another .exe file to install so it can do its job and for whatever reason the .exe does not then the .vbs will sta...
by Dos_Probie
06 Jun 2012 03:10
Forum: DOS Batch Forum
Topic: [help]Batch Script to Toggle Numlock?
Replies: 5
Views: 3514

Re: [help]Batch Script to Toggle Numlock?

There are no native batch commands to do this - possibly a debug script can do it but then you are still using scripts. Good answer Foxi..I came to the same conclusion, that dos by itself can't do the keystrokes natively, but since this is a Dos forum I wanted to use dos as much as possible without...
by Dos_Probie
05 Jun 2012 19:09
Forum: DOS Batch Forum
Topic: Batch Script to Toggle Numlock?
Replies: 4
Views: 2761

Re: Batch Script to Toggle Numlock?

BTW Fawers, I did consider posting on orginal post but after so many overwhelming responses I decided to repost.
So I quess you never read my orginal post or just didn't know the answer...
by Dos_Probie
05 Jun 2012 17:52
Forum: DOS Batch Forum
Topic: Batch Script to Toggle Numlock?
Replies: 4
Views: 2761

Batch Script to Toggle Numlock?

This is in response to my earlier post.. After some digging around I found a backdoor way. Maybe this will help someone else ... :ToggleNumlock.cmd :==================+ @echo off setlocal set _prompt=%1 :: Create the VBS script with an echo statement and chain with colon: echo set WshShell = CreateO...
by Dos_Probie
05 Jun 2012 09:07
Forum: DOS Batch Forum
Topic: [help]Batch Script to Toggle Numlock?
Replies: 5
Views: 3514

[help]Batch Script to Toggle Numlock?

Calling all Dos Guru's!! Am using Windows 7 and need the ability to toggle the {NUMLOCK} on and off from the commandline via batch. I know there are .vbs scripts, 3rd party apps and possible registry entries that will do this but would Perfer doing this via a batch file.The only documentation I cou...
by Dos_Probie
15 Feb 2011 16:39
Forum: DOS Batch Forum
Topic: Shutdown.exe Fails?
Replies: 2
Views: 2089

Re: Shutdown.exe Fails?

Thanks! aGerman that did the trick , also noticed if I used the /c switch instead of the /f that it would contintue on then reboot ..
by Dos_Probie
15 Feb 2011 09:34
Forum: DOS Batch Forum
Topic: Shutdown.exe Fails?
Replies: 2
Views: 2089

Shutdown.exe Fails?

The below batch works in turning off the UAC and says "The operation completed successfully" then just stops there and won't do the shutdown command. I am sure it something simple that I am overlooking but any help would be most appreciated. P.S. also specified dos color will not work as w...
by Dos_Probie
21 Nov 2010 08:36
Forum: DOS Batch Forum
Topic: Replace program by batch
Replies: 1
Views: 1662

Re: Replace program by batch

You could create a .reg file but since we are on DosTips just use the Reg Add Command via commandline and call it something like DefaultSCR.cmd and save to desktop then when your done with your video just run it to set your favorite screensaver back as default.I used the bubbles.scr as the screensav...