Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Important Announcement: We have two terrific contests running on the site that I wanted all our members and guests to know about.

The first contest is the HP Magic Giveaway, which is underway as of November 28th. More information can be found at this topic, which will be updated very soon with further information.

The second contests, is for the chance to win two Seagate FreeAgent external hard drives. More information about this contest can be found here.

These are both amazing contests and I suggest everyone submit an entry for them.

- BleepingComputer Management
 
Reply to this topicStart new topic
> Dos help Echo command
tango
post Jul 17 2005, 10:02 AM
Post #1


New Member
*

Group: Members
Posts: 1
Joined: 17-July 05
Member No.: 27,676



Hi to u all,

I hope anyone can help me with this i have written a batch file Please see out put

not the best:
@ECHO OFF
CLS
cd installs

setup.exe


@Echo OFF

CLS

exit

Well basically what i am trying to do is to run a setup programme, batch file works perfect, but when i execute it i get a cmd shell open, i was wondering how to put a message saying Please wait... when i execute the batch file. with ou showing any of the other commands. Please help.
Thanks.


//Mod edit: Post moved from "Apple/DOS/PDA/Other" to the more appropriate forum.

This post has been edited by KoanYorel: Jul 17 2005, 11:14 AM
Go to the top of the page
 
+Quote Post
Joshuacat
post Jul 17 2005, 05:48 PM
Post #2


01001010 01000011
******

Group: BC Advisor
Posts: 1,887
Joined: 1-January 05
From: Ontario, Canada
Member No.: 8,339



It's been a few years since I had to do this but I think this would work.

@Echo This batch file is a test by Joshuacat <===displays a message on the screen

Pause <===you probably don't want this...I added it to see my message

@echo off <====turns display of message/commands off
cd\
cd windows

exit


Here's a page with tutorials and sample batch files.

DOS BATCH FILE WEBSITE HELP

Let me know if that helped.


--------------------
JC

Go to the top of the page
 
+Quote Post
DarkRaika
post Nov 12 2005, 01:36 PM
Post #3


Member
**

Group: Members
Posts: 58
Joined: 1-November 05
From: Not Alpha Centauri
Member No.: 39,229



QUOTE(tango @ Jul 18 2005, 02:02 AM) *
Hi to u all,

@ECHO OFF
CLS
cd installs

setup.exe


@Echo OFF

CLS



//Mod edit: Post moved from "Apple/DOS/PDA/Other" to the more appropriate forum.


Ok the above is your code. Now I'm presuming you have a setup.exe file in a directory located at c:\installs
The problem with what you have put up there is that your setup.bat file your creating could be anywere on your computer and were ever it is its going to attempt to go cd installs and it may not work so therefore you want a change there. You also have another clear screen command which I don't see any need in because when you go @echo off theres nothing on the screen anyway from the previous @echo off. So this is what you do. Oh and you want a .... Please wait on the screen so theres something else I'm going to add.

@echo off
cls
cd\installs
echo ... Please wait while installing
setup.exe
cls

Thats pretty much your whole code I think and by the way in DOS if you want to start creating batch file to type this in you type
copy con setup.bat
followed by a
Crtl+Z to finish at the end after typing the code.

I hope this helps somewhat cause I'm not completely sure of what you were trying to do. There might be an issue with needing a Path statement. Should do some research about that.


--------------------
31337 is a prime number .... 1337 is not .... go figure!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 4th December 2008 - 01:27 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.