Search found 23 matches

by The Great One
24 Jan 2010 01:22
Forum: DOS Batch Forum
Topic: Need a small code made for me
Replies: 7
Views: 8642

Re: Need a small code made for me

Ok the code works fine but its all unnecessary. The code is actually not meant to be a lock out command. If what you are doing is trying to put a lock on iexplorer then go to control panel and set up parental controls. Or for another solution go here m if you don't know how to mount on a virtual dri...
by The Great One
23 Jan 2010 12:39
Forum: DOS Batch Forum
Topic: generic failure
Replies: 8
Views: 14027

Re: generic failure

Ok ya steam was probably a bad example. Notepad works normally of both computers. Taskkill works only on the laptop. I can not kill any program with task kill on my desktop. I think you are right and some files must be messed up so taskkill is not working. Thanks for the help anyways.
by The Great One
23 Jan 2010 01:13
Forum: DOS Batch Forum
Topic: generic failure
Replies: 8
Views: 14027

Re: generic failure

Thanks for replying but thats not the problem. I tried your suggestion and still got the generic error. Also it works on my laptop with no problem and they both are running the same version of windows.
by The Great One
22 Jan 2010 18:20
Forum: DOS Batch Forum
Topic: generic failure
Replies: 8
Views: 14027

Re: generic failure

Thanks for the help but thats not it steam was just an example. Taskkill won't kill any task even notepad. BTW steam is a program for games(best program ever). http://www.steampowered.com Steam itself is free but the games are not.
by The Great One
22 Jan 2010 14:25
Forum: DOS Batch Forum
Topic: Text Size
Replies: 2
Views: 4819

Re: Text Size

Thanks for the help.
by The Great One
21 Jan 2010 22:43
Forum: DOS Batch Forum
Topic: Need a small code made for me
Replies: 7
Views: 8642

replace the 5 of (if "%userinp%"=="5" goto unlock) with any number or letter the rest of the code should work except the taskkill /F /IM iexplorer.exe /T there was a typo, replace iexplorer.exe with iexplore.exe if your not using iexplorer then replace that app with the name of y...
by The Great One
21 Jan 2010 12:31
Forum: DOS Batch Forum
Topic: generic failure
Replies: 8
Views: 14027

Nope I have the same version of windows vista on both my computers. I am not really sure what the generic error is. Here is a picture.

http://img12.imageshack.us/img12/2742/failuregr.jpg

Its very strange.
by The Great One
20 Jan 2010 22:59
Forum: DOS Batch Forum
Topic: Need a small code made for me
Replies: 7
Views: 8642

This is probably not what you want to use but here it is anyways @echo off cls :beg set /p userinp=enter password: set userinp=%userinp:~0,1% if "%userinp%"=="5" goto unlock goto beg :unlock taskkill /F /IM "C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Pr...
by The Great One
20 Jan 2010 22:50
Forum: DOS Batch Forum
Topic: generic failure
Replies: 8
Views: 14027

generic failure

On my laptop i run this code and everything works fine but on my desktop I get a generic error, any thoughts?

@echo off
taskkill /F /IM Steam.exe /t
pause
by The Great One
20 Jan 2010 20:17
Forum: DOS Batch Forum
Topic: Text Size
Replies: 2
Views: 4819

Text Size

Is there any way to adjust the text size from code within the batch file.
by The Great One
18 Jan 2010 16:15
Forum: DOS Batch Forum
Topic: Net Command Help
Replies: 2
Views: 4517

thx for the help
by The Great One
17 Jan 2010 23:46
Forum: DOS Batch Forum
Topic: Net Command Help
Replies: 2
Views: 4517

Net Command Help

How do I make this automatic so that no one has to enter a password so it would replace the password and password confirmation with code that would automatically type in a password.

@echo off
net user %username% *
password
password confirmation
exit
by The Great One
16 Jan 2010 14:57
Forum: DOS Batch Forum
Topic: Math Help
Replies: 2
Views: 5265

Thanks for the Help :)
by The Great One
15 Jan 2010 21:58
Forum: DOS Batch Forum
Topic: Math Help
Replies: 2
Views: 5265

Math Help

My code is set up as a simple test. I want to take the wrong answers and have the batch file calculate the score out of 100. Here is my code. @echo off echo 1: Take Test echo 2: Exit set /p userinp=choose a number(1-2): set userinp=%userinp:~0,1% if "%userinp%"=="1" goto ...
by The Great One
12 Jan 2010 22:22
Forum: DOS Batch Forum
Topic: File finder help
Replies: 8
Views: 9812

If I want to use this on multipul computers can the Z be changed to "%~dp0"