473,406 Members | 2,707 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,406 software developers and data experts.

How to make ASP page pause for some time

Hi All
I am having an ASP page which will get some set of files from
VSS.After that, in the same page I am running a bat file to remove some
unwanted files.Then I am displaying the files remaining in the page.

Every thing is working fine ,but the bat file is taking some time to
remove the files. so first time when it displays the files , it is
displaying the unwanted files also.Once after fully loading the page
,if I press refresh those unwanted files are not there.
I want the page to wait for some time to get the files deleted and then
display them on the page.

Any idea, how can I do this..????

Any help would be appreciated

Oct 18 '06 #1
2 6983
How are you running the bat file?
With WScript.Shell's Run method? Set
it bWaitOnReturn to true. See here:
http://msdn.microsoft.com/library/en...640b0e32ea.asp

Ray at work
<kk*********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi All
I am having an ASP page which will get some set of files from
VSS.After that, in the same page I am running a bat file to remove some
unwanted files.Then I am displaying the files remaining in the page.

Every thing is working fine ,but the bat file is taking some time to
remove the files. so first time when it displays the files , it is
displaying the unwanted files also.Once after fully loading the page
,if I press refresh those unwanted files are not there.
I want the page to wait for some time to get the files deleted and then
display them on the page.

Any idea, how can I do this..????

Any help would be appreciated

Oct 18 '06 #2
http://classicasp.aspfaq.com/general...-or-sleep.html
<kk*********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi All
I am having an ASP page which will get some set of files from
VSS.After that, in the same page I am running a bat file to remove some
unwanted files.Then I am displaying the files remaining in the page.

Every thing is working fine ,but the bat file is taking some time to
remove the files. so first time when it displays the files , it is
displaying the unwanted files also.Once after fully loading the page
,if I press refresh those unwanted files are not there.
I want the page to wait for some time to get the files deleted and then
display them on the page.

Any idea, how can I do this..????

Any help would be appreciated

Oct 18 '06 #3

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

Similar topics

0
by: Andrew | last post by:
When will .NET have a low-pause-time garbage collector A low-pause-time garbage collector would greatly improve .NET's ability to serve as a platform for soft real-time systems. It doesn't have...
8
by: Wim | last post by:
My GUI application starts a process (a console program) when the user hits Play. I would like to add an option to pause that process. The code I've added to detect if the user hit pause/unpause...
11
by: Marek | last post by:
What can I do in order to avoid first exception pause? I am sure everyone already experienced this behavior and there must be a solution. regards
2
by: Bruce Hodge | last post by:
Hi All, I've got a page with a couple of Datagrids on it and for some reason the page is no longer being picked up by the framework and a very old version is being displayed instead. When I say...
0
by: marko svaco | last post by:
Hi, I have .Net VB and have worked with it, so I now some stuff in general. It woud be great if someone could help me, or give me some advice. I'm visiting a web page, so all the buttons and so...
2
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. Is there a way to start, pause and resume a recurrsive search exactly where you left off, say in the registry programmatically? -- Michael Bragg,...
10
by: ApexData | last post by:
I can't seem to make a PopUp Dialog form Invisible! 'My main form calls the PopUp DoCmd.OpenForm "F-PAUSE", WindowMode:=acDialog 'My PopUp form "F-PAUSE" contains this code Private Sub...
2
by: Surya Vellanki | last post by:
Hi all, I have been struggling with this problem from a few days. I hope I will get some help here. I am developing an online quiz portal with ASP.NET 2.0 and I am using Atlas framework for...
2
by: CptDondo | last post by:
I'm stumped on this one... I have an embedded system that communicates with a PLC (a sort of embedded computer.) At one point, the user of my embedded system can sync the data between the two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.