473,394 Members | 1,289 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Keep DOS batch file Shell window open (Access 97)

Rob
I'm running a batch file using the Shell function.

When I manually launch the batch file, the window remains open, since
I use the 'pause' statement. But when I launch the batch file within
Access, the Shell window becomes a blip on the screen and then is
gone. Why does the Shell window not stay open on the screen? I want
to visually verify that the batch file is functioning properly and
then close the window myself. Am I missing a command line switch
somewhere?

Any help would be greatly appreciated.

Thank you.
Nov 12 '05 #1
1 15150
On 9 Sep 2003 09:28:44 -0700 in comp.databases.ms-access,
ro***********@mpls.frb.org (Rob) wrote:
I'm running a batch file using the Shell function.

When I manually launch the batch file, the window remains open, since
I use the 'pause' statement. But when I launch the batch file within
Access, the Shell window becomes a blip on the screen and then is
gone. Why does the Shell window not stay open on the screen? I want
to visually verify that the batch file is functioning properly and
then close the window myself. Am I missing a command line switch
somewhere?

It should stay there with the pause statement in it, if not then it's
likely it didn't actually run the batch file or some condition
occurred to make the batch file exit (exit command or direct call to
another batch file).

--
A)bort, R)etry, I)nfluence with large hammer.

(replace sithlord with trevor for email)
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Moosebumps | last post by:
So, after reading some messages about os.system, and looking at the popen stuff and trying it a bit, I still have not found a way to keep a command window open for several commands (on Windows...
6
by: Pekka Niiranen | last post by:
Hi, I have used the following example from win32 extensions: -----SCRIPT STARTS---- import win32file import win32con import win32security import pywintypes
4
by: Bill | last post by:
I need help closing a CMD window when it is executed from Access. 1) The batch file is called from Access. 2) Access closes, 3) the batch runs a copy of the access database (creating a backup)...
2
by: tripyre | last post by:
I recently resolved an issue I had with passing a variable to a call shell command, but now I need it to pause or leave the window open so I can manually close it. Below is my code, and I am not...
6
by: Charles Neitzel | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
1
by: Charles | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
1
by: mvdkwong | last post by:
What's the trick to running a batch file from VBA? I'm trying to call it using the Shell function but it's not working for me. If I double-click the batch file or run it from the command line it...
12
by: Brett Romero | last post by:
I'd like to execute a batch file. However, I just get a quick DOS window flash when I run this code: System.Diagnostics.ProcessStartInfo p = new System.Diagnostics.ProcessStartInfo...
4
by: MLH | last post by:
SHELLing to run a batch file in a cmd window does not work with all batch files. Here are two examples... c:\windows\Doc_Dirs.bat ==DIR *. /s WinDirs.txt - and - c:\db\timnall\getconf.bat...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.