Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Close Batch Window

Original Message
Name: sabloomer
Date: September 12, 2006 at 13:37:52 Pacific
Subject: Close Batch Window
OS: XP Pro
CPU/Ram: x
Model/Manufacturer: x
Comment:
I have tried to look over the site before I post my question. http://www.computing.net/windowsxp/... had the same problem, but I couldn't find an answer, so here it goes...

I have the following batch file

echo off
call "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\MyAdp.ADP"
EXIT

I can not get the window to close when done. I have tried EXIT /B and EXIT /B 0 as suggested on some site. I have also looked for the "close on exit" property for the batch file, but can not find it. Can anyone help?

thanks,

sabloomer


Report Offensive Message For Removal


Response Number 1
Name: IVO
Date: September 12, 2006 at 14:25:09 Pacific
Subject: Close Batch Window
Reply: (edit)
Well... this has absolutely nothing to do with a DOS question, however to get what you want code

Echo Off
Start ""- "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\MyAdp.ADP"
Exit

By the way Exit may be omitted.


Report Offensive Follow Up For Removal

Response Number 2
Name: IVO
Date: September 12, 2006 at 14:28:50 Pacific
Subject: Close Batch Window
Reply: (edit)
Sorry

Start "" "C:\Program Files etc....

the - was a typo.


Report Offensive Follow Up For Removal

Response Number 3
Name: sabloomer
Date: September 13, 2006 at 09:49:31 Pacific
Subject: Close Batch Window
Reply: (edit)
IVO -

I was worried about posting this in the wrong forum, the post I mentioned above suggested the DOS forum. Sorry.

This works like a charm, thank you for the help!


thanks,

sabloomer


Report Offensive Follow Up For Removal

Response Number 4
Name: jboy
Date: September 13, 2006 at 16:50:16 Pacific
Subject: Close Batch Window
Reply: (edit)
"the post I mentioned above suggested the DOS forum."

All well and good - but incorrect, and 4 years old(!)

Top of the DOS forum page sports a brief description, apparently skipped by many:

This forum is for all Standalone versions of DOS, not the "DOS" prompt contained inside later versions of Windows.

Diplomacy is the art of saying 'Nice doggie!'... till you can find a rock


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Close Batch Window

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




VGA Card in 386 clone - dip-switche

Video/Graphics problem

Ping on DOS 6.22

netgear, onelevel

Ping on DOS 6.22


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC