C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 07-02-2008, 09:14 AM   #1
Registered User
 
Trennto's Avatar
 
Join Date: Jul 2008
Location: Orlando, FL
Posts: 29
Windows Vista Batch Files

I'm currently using batch files to pause very simple C++ programs and I noticed that in Vista batch files add an address above each line in the CP. This is very annoying and I was wondering if there is a way to disable this.

Here's my "Hello World" output in the CP:

C:\Users\Trennto\Documents\Project Files>hello_world.exe
Hello World!

C:\Users\Trennto\Documents\Project Files>pause
Press any key to continue . . .
Trennto is offline   Reply With Quote
Old 07-02-2008, 09:27 AM   #2
Registered User
 
Codeplug's Avatar
 
Join Date: Mar 2003
Posts: 3,844
Add "@echo off" to the top of your batch file.

gg
Codeplug is online now   Reply With Quote
Old 07-02-2008, 09:30 AM   #3
Registered User
 
Trennto's Avatar
 
Join Date: Jul 2008
Location: Orlando, FL
Posts: 29
thank you very much, solved the problem
Trennto is offline   Reply With Quote
Reply

Tags
batch, file, files, vista, windows

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Differences between Windows XP and Windows Vista programming nathan3011 Windows Programming 3 01-15-2009 10:05 AM
problem in windows vista raj_ksrt C++ Programming 6 09-30-2008 11:52 AM
Damn ATI! AloneInTheDark Tech Board 48 02-16-2008 09:34 PM
Script errors - bool unrecognized and struct issues ulillillia Windows Programming 10 12-18-2006 04:44 AM
Dos commands hehe Carp A Brief History of Cprogramming.com 2 01-17-2003 02:51 PM


All times are GMT -6. The time now is 09:28 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22