Computer Hope

Computer Hope Forum Welcome, Guest. Please login or register.
November 22, 2009, 09:19:21 AM
Home Help Staff Chat Login Register
News: Have your own custom built computer? Come join the self-built computer club.

Computer Hope Forums  >>  Microsoft  >>  Microsoft DOS (Moderator: Computer Hope Admin)  >>  Topic: Batch Programs Thread. 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 ... 25 26 [27] - (Bottom) Print
Author Topic: Batch Programs Thread.  (Read 50920 times)
batchmaster60
Rookie
*
Posts: 36

Thanked: 1
OS: Windows XP
Experience: Experienced



Viper Icon (I made up Viper)


WWW
« Reply #390 on: June 27, 2009, 12:45:03 PM »

But you cant use set /p with the type command.
Logged
macdad-
Topic Starter
Expert
*
Posts: 2427

Thanked: 36
OS: Windows 2000
Computer: Specs
Experience: Expert
Certifications: List



G-Man Approves


« 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.
Logged

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

Thats why Bill Gates created the Windows NT Family.
devcom
Apprentice
*
Posts: 521

Thanked: 37
OS: Windows Vista
Experience: Expert


« 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
Logged

Download: Choice.exe
Carbon Dudeoxide
Global Moderator
Mastermind
*
Posts: 15401

Thanked: 118
OS: Windows XP
Computer: Specs
Experience: Expert
Certifications: List



Twitter carbonch
WWW
« Reply #393 on: July 25, 2009, 06:50:52 AM »

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


████████████████
smeezekitty
Newcomer
*
Posts: 0

Thanked: 44
OS: Windows Vista
Experience: Familiar


« 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:
: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
Logged

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

Thanked: 36
OS: Windows 2000
Computer: Specs
Experience: Expert
Certifications: List



G-Man Approves


« Reply #395 on: August 27, 2009, 04:42:20 PM »

Very nice, a multi-drive file searcher.
Logged

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

Thats why Bill Gates created the Windows NT Family.
Pages: 1 ... 25 26 [27] - (Top) Print 
Computer Hope Forums  >>  Microsoft  >>  Microsoft DOS (Moderator: Computer Hope Admin)  >>  Topic: Batch Programs Thread. « previous next »
Jump to:  


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright 1998-2008 by Computer Hope (tm). All rights reserved
Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC
Page created in 0.08 seconds with 18 queries.