|
by: DBA |
last post by:
I have a windows batch file that executes a SQL Server bcp command. I
would like to obtain a return code if the bcp command fails. However,
I cannot seem to find the return code (if any) for bcp. For example,
if the bcp command is improperly formatted, or has a bad password, I
want the batch file to return an error. Right now, my batch file...
|
by: SkySea |
last post by:
Hi! Any help on this would be appreciated...
In an HTML document that lists instructions on installing some
software, there's a point where a DOS batch file needs to be run in
order to copy files from the CD to the hard drive. Given that CD
drives can have various names, I wanted to run the batch file using
relative paths.
The problem...
|
by: Mark C. |
last post by:
I'm trying to call a batch file that I've built using the FileSystemObject
and CreateObject("Wscript.Shell"), oShell.Run... in an asp script.
Naturally, I can get the script to work from a command line but not from a
browser. The page does not throw an error but the oShell.Run... portion of
the script doesn't run. Any help would be...
|
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)
4) Once the copy is complete, the batch file opens the Access database
again
5) EXIT should close out the cmd window but it does not execute that...
|
by: code_wrong |
last post by:
Hi,
I'm reading this:
http://www.catch22.net/tuts/selfdel.asp (Self Deleting Executables)
and playing around with the batch file method .. trouble is I always get a
command box at the end with the "the batch file cannot be found" message ..
how can I get rid of this .. while staying with the batch file method?
here is my code:
/*self...
|
|
by: Zeya |
last post by:
I have created a very simple batch file and trying to retrieve the
standard output but everytime I run the code it returns ExitCode as 1.
I have created a batch file as simple as ping localhost or echo hello
world and neither have worked. Note: This is from ASP.Net code. Also,
the batch file runs just fine from command line.
I am running...
|
by: emman_54 |
last post by:
Hi every one,
I am trying to run a batch file using my asp.net application.
I am using the Process class to run the batch file. When I run my web
application, In the task manager, i could see cmd.exe with ASPNET as a
user. But nothing happens. It can't execute the batch file.
This is the code i am using to run the batch file:
|
by: ed |
last post by:
Hi all,
I'm very new to vb (2nd day) and I need to create a small app that will
replace my old batch file with a flashy gui. I had some experience
with access 2.0 which helps ;)
What I would like is to get the output of the batch file to display on
the gui as the batch file is running.
if some of you understand unix... I want this: tail...
|
by: =?Utf-8?B?R2lkaQ==?= |
last post by:
Hi,
In my windows applicationm, i need to excute a batch file.
this batch file throws some text and questions to the screen, i need to
catch the standard Output, check if it's a question, in case it's a question,
i want to popup a messageBox or something, and bring back to the batch file
the result (Yes\No question). I know how to excute...
|
by: huiling25 |
last post by:
I tried for several days, but none can work. IE keep showing yellow exclamation mark at the status bar after clicking "Submit" and batch file cannot be executed. The HTML file and batch file is in the same folder.
Here is the code for printpage.html
<html>
<head>
<script language="javascript" type="text/javascript">
function printFile()
{...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|