Home / Microsoft / Microsoft DOS / Batch Programs Thread.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 ... 25 26 [27] 28 29 ... 37 - (Bottom) Print
Author Topic: Batch Programs Thread.  (Read 96193 times)
batchmaster60
Guest
« Reply #390 on: June 27, 2009, 12:45:03 PM »

But you cant use set /p with the type command.
IP logged
macdad-
Topic Starter
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #391 on: June 27, 2009, 03:07:39 PM »

Oh, that's what you're doing.

If you mean by editing the file with the Type command, then no that doesn't work
Type only displays file content.
IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
devcom
Apprentice



Thanked: 37
Posts: 521


« Reply #392 on: July 25, 2009, 06:50:16 AM »

Quote
this isn't a help post, its where you post batch programs you've made if you want to share them.

please make another thread
IP logged

Download: Choice.exe
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 145
Posts: 16,077

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #393 on: July 25, 2009, 06:50:52 AM »

Start a new topic. This is for posting batch files, not to ask questions.
IP logged

smeezekitty
Newcomer



Thanked: 44
Posts: 0


« Reply #394 on: August 25, 2009, 07:38:59 PM »

i wrote this batch file
its alittle buggie but its fairly neat
it helps you find files
here it is:
Code: [Select]
:BEGIN
echo off
cls
set /P direct="What drive and directory would you like to explorer?[DRIVE:\DIR] "
cd /D %direct%>nul
if %errorlevel% equ 1 echo Drive or directory doesnt exist & exit
:START
cls
echo type CHGD to goto a diffrent drive and/or directory
set /P FM="type in the first letter of the filename, ^ to quit "
if %FM% equ ^ goto END
if %FM% equ CHGD goto RAW
:FNF
cls
dir /B %FM%???????.* | more
echo Type filename as seen above or 'BACKSTART' to choose another letter
set /P FM="type ^ to quit "
if %FM% equ BACKSTART goto START
if %FM% equ ^ goto END
if not exist %FM% echo FILE NOT FOUND & PAUSE & goto BEGIN
%FM%
goto START
:RAW
goto BEGIN
:END
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
macdad-
Topic Starter
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #395 on: August 27, 2009, 04:42:20 PM »

Very nice, a multi-drive file searcher.
IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
Undernerd
Newbie



Posts: 1


« Reply #396 on: November 30, 2009, 05:56:19 PM »

well i think you dont have choice.exe becouse it use it to move smother than typeing single letter and press enter.
here is a link to choice.exe
http://hp.vector.co.jp/authors/VA007219/dkclonesup/choice.html
simply put it to C:\windows\system32

Thanks Devcom,
I've been pulling my hair out trying to make a batch file using CHOICE and have been rather upset that XP isn't running it.
IP logged
gamerx365
Adviser



Thanked: 1
Posts: 664

Experience: Experienced
OS: Windows 7


Radda Radda!

Gamerx365-Net 1 1
« Reply #397 on: December 05, 2009, 09:08:33 PM »

I hope no one minds I posted this in another thread but it seems fitting to put the link to said thread here...

Eternal Death Slayer 2! (beta)

http://www.computerhope.com/forum/index.php/topic,66827.msg651063.html#msg651063

If the double post is a problem contact me and I will delete it. I figured maybe some users here don't peruse the off topic boards and this topic really fits this thread.

Thanx.
-Seth
IP logged

macdad-
Topic Starter
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #398 on: December 06, 2009, 03:08:29 PM »

Long time no see Gamer.

IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
gamerx365
Adviser



Thanked: 1
Posts: 664

Experience: Experienced
OS: Windows 7


Radda Radda!

Gamerx365-Net 1 1
« Reply #399 on: December 06, 2009, 05:51:13 PM »

I know. it's been a while since I've deemed myself worthy to post on computerhope :D
IP logged

Ujujboypiano
Starter



Posts: 3


« Reply #400 on: December 11, 2009, 02:03:15 PM »

I have made a java compiling program. I don't know why you would need it- just saying. If you press y, it will tell the program "Yes, I have typed a file to compile as an argument.". If you press n, it will do the opposite. Although, you have to download Java for it to work. You should find "javac" in the bin folder. Also, just make the "cd" statement at the end the address of your Java file. I am NOT very experienced with MS-DOS, so I don't think this will help much.

@echo off
:start
set choice=
set /p choice="Have you typed a filename? Press y for yes, n for no. (then press enter)"
if '%choice%' == 'y' ..\bin\javac %1
if '%choice%' == 'n' cls
cd C:\Program Files\Java\jdk1.6.0_16\test
IP logged
aiko
Rookie



Thanked: 1
Posts: 33



☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆

lol
« Reply #401 on: December 18, 2009, 12:31:49 PM »

bleep.bat
Code: [Select]
@echo off
cls
:bleep
title bleep
start bleep.vbs
goto bleep

bleep.vbs
Code: [Select]
Set oWS +
Wscript.CreateObject("WScript.shell")
oWS.Run "%compec% /c echo "  & Chr(07), 0,True
IP logged
BC_Programmer
Mastermind


Thanked: 682
Posts: 15,624

Computer: Specs
Experience: Beginner
OS: Windows 7


Pinkie Pie is best pony

BC-Programming.com 1 1
« Reply #402 on: December 18, 2009, 03:29:13 PM »

beep.bat

Code: [Select]
@echo ^G

^G= control G.
IP logged

macdad-
Topic Starter
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #403 on: December 19, 2009, 07:02:46 AM »

How did you add that in, seems to be that you can only add ^G in EDIT or if you append it to the file from CMD itself(It doesn't add it in Notepad though, and all other GUIs due to the fact of keyboard shortcuts)
IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
Ujujboypiano
Starter



Posts: 3


« Reply #404 on: December 22, 2009, 02:11:47 PM »

Code: [Select]
PRESS CTRL+F  AND THEN CTRL+M! THEN, TRY CTRL+B AND CTRL+M!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IP logged
Pages: 1 ... 25 26 [27] 28 29 ... 37 - (Top) Print 
Home / Microsoft / Microsoft DOS / Batch Programs Thread. « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.096 seconds with 21 queries.