Thread: Windows Vista Batch Files

  1. #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 . . .

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Add "@echo off" to the top of your batch file.

    gg

  3. #3
    Registered User Trennto's Avatar
    Join Date
    Jul 2008
    Location
    Orlando, FL
    Posts
    29
    thank you very much, solved the problem

Popular pages Recent additions subscribe to a feed

Similar Threads

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

Tags for this Thread