Question about Computers & Internet

1 Answer

MS-Dos running a file.. that keeps shutting down..

I am trying to run an MS-Dos.bat File but every time i does it shuts down is there any way to convert it so it will work on my system?
Comment by kammy86, posted on Jan 31, 2008 Or find a way to get it running.. and to stay up..
Comment by kammy86, posted on Jan 31, 2008 The file i'm using is to connect to second-life and permit outside sl client control.. but there seems to be some issues that i can't seem to solve on my own..

The batch file is suppose to open and load, and allow you to type in a username password, to connect w/o a client to second life.. and permit 'master' control, the console basically being a slave to whatever you set it for. and performing the command given.. etc.. i have a screenshot available of what it is suppose to do on the net, but some of my friends are having trouble and it keeps shutting down for them...

well what it is suppose to do is suppose to start the program and remain open.. the file i have is up for download at

http://www.mediafire.com/download.php?6agetzjnw22


Posted by on

  • kammy86 Jan 31, 2008

    I can't figure 'what' else to change.. heh I tell them to do that they claim they do and it shuts down for them..

×

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Novelist:

    An expert who has written 50 answers of more than 400 characters.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

  • Expert
  • 171 Answers

Use Notepad and open up the login.BAT file. There are a number of things in the bat file which you need to change and replace with your own information!

Posted on Jan 31, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I keep getting the message The data file 'personal folders' was not closed properly when I open Outlook, how can I prevent this from happening?


Hi,


The underlying reason why Outlook displays this "data file" check is very simple. There is a single flag in the header of the data file that is a Boolean value (True or False). While you use Outlook the value of this flag is constantly changing as the data file is updated. When the update begins the value is changed to False and then when the update completes the value is changed back to True (implying the update is finished and successful).


So, the key to the problem is the shut down process because once the Outlook.exe process is exited this flag value cannot be changed. If the Outlook.exe process was terminated prematurely or a 3rd party add-in did not properly set the flag value to True then the flag value can be left at False. If you start Outlook with a data file where the value of the flag is False you are guaranteed to see the "data file" check. If the value of the flag is True then you will not see the "data file" check.


Right now, there are a few known common causes for this issue:


- Shutting down Windows before the Outlook.exe process has exited

- 3rd party add-ins improperly "closing" the data file

- Outlook crashing

- Non-Outlook process accessing the data file


http://support.microsoft.com/kb/954642/en-us

http://support.microsoft.com/kb/948733/en-us


Regarding the post advised by Rod, I would like to explain more detailed:

+++++++++++++++++++++++++++++++++++++++++++++++++

When you shut down Outlook, the Outlook window goes away, but the Outlook.exe process can continue to run for some time. That's why you can see Outlook.exe sitting in Task Manager for a few minutes after closing the Outlook window. If you shut down Windows while the Outlook.exe process is still running Windows will not wait for the Outlook.exe process to exit. So, you increase the likelihood of encountering the "data file check" issue the next time you start Outlook (because the Outlook.exe process was not able to "close" your data file(s) completely before Windows was shut down).

On the other hand, if you leave Outlook running when you shut down Windows the Outlook.exe process will continue to run and exit on its own. When Windows is shut down, it sends messages to all visible window frames telling them to quit, and will wait for those programs to quit before shutting down. Not until all processes with open windows have exited will Windows finally shut down. This is somewhat counter-intuitive to most people as traditional training has always advised manually closing applications before shutting down Windows.

+++++++++++++++++++++++++++++++++++++++++++++++++

Mar 10, 2011 | Microsoft Computers & Internet

Tip

Batch downloading multiple web pages


Looking for a way to download multiple web pages, images or other files from web sites without using a browser?

First, download and install URL2File Windows Application, which is the program we'll be using in this example (URL2File Windows Application is a product of Chami.com). URL2File can retrieve and save the content of a given World Wide Web URL to a local file. So, to retrieve the web page at http://www.chami.com/tips/ and save it to a local file named tips.htm, run the following command from a Windows Command Prompt/DOS Box:URL2File http://www.chami.com/tips/ tips.htmNote the format of the above command: URL2File followed by the web page/file address and the name of the file that you want to save the content as.The next step is to create a batch file that can call URL2File for eachfile you need to download. A Windows batch file is a text file with alist of commands, usually with the .BAT extension.Let's assume that there are three files named file1.zip, file2.zip and file3.zip at http://www.chami.com/tips/ that you need to download. To create a batch file to download above files:
  • Open Windows Notepad
  • Enter following three commands into the blank notepad (one command per file to be downloaded):URL2File http://www.chami.com/tips/file1.zip file1.zip
    URL2File http://www.chami.com/tips/file2.zip file2.zip
    URL2File http://www.chami.com/tips/file3.zip file3.zip
  • Save the notepad file with a name of your choice followed by .BAT ("download.bat" for example)
Now run "download.bat" from your Windows Command Prompt/DOS Box by typing:downloadand hitting ENTER. The newlycreated batch file will call URL2File three times for each of the threefiles and sequentially download them for you. To download other files,simply modify the batch file and run it again.

taken from http://www.chami.com/tips/windows/062598W.html

on Jan 25, 2010 | Microsoft Windows XP Home Edition

3 Answers

How to create simple batch files


Creating a batch file
MS-DOS users
Microsoft Windows and other users

MS-DOS users
To create a basic batch file in MS-DOS, follow the below steps that give you an example of how to create a basic batch file.

  1. Open an MS-DOS command window or get to MS-DOS. Additional information about doing this can be found on document CHDOS.
  2. At the MS-DOS prompt, type: edit test.bat and press enter.
  3. If typed properly, you should now be in a blue screen. Within the screen, type:

    pause
    dir c:\windows
    dir c:\windows\system

  4. Once the above three lines have been typed in, click File and choose exit; when prompted to save, click "Yes." Users who do not have a mouse cursor can accomplish this same task by pressing ALT+F to access the file menu, then pressing "X" to exit, and pressing enter to save changes.
  5. Once you are back at the MS-DOS prompt, type: test and press enter. This will execute the test.bat file and begin running the file. Because the first line is pause, you will first be prompted to press a key. Once you press a key the batch file will run line-by-line; in this case, listing the files in the windows and windows\system directories.
If you wish to add more lines to this batch file you would simply type "edit test.bat" to edit the file again.
Additional information about the MS-DOS edit command can be found on our edit command page. Some versions of MS-DOS and bootable diskettes may not have the edit command; if this is the case, you would either need to obtain the edit.com file to access this file or use the copy con command.




Microsoft Windows and other users
A Windows user can still use the above MS-DOS steps if they wish to create a batch file. If, however, you're more comfortable using Microsoft Windows or your operating system, you can use any text editor, such as Notepad or Wordpad, to create your batch files, as long as the file extension ends with .bat. In the below example we use the Windows notepad to create a batch file.
  1. Click Start
  2. Click Run
  3. Type: notepad and press enter.
  4. Once notepad is open, type the below lines in the file or copy and paste the below lines into notepad.

    @echo off
    echo Hello this is a test batch file
    pause
    dir c:\windows

  5. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
  6. Now, to run the batch file, simply double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.

Jan 04, 2011 | Computers & Internet

1 Answer

What is the mean auto exe c bat in dos files??


An AUTOEXEC.BAT file contains MS-DOS commands which are executed automatically when a Personal Computer boots. This file is usually located in the root directory of the hard drive or floppy from which the computer boots (or starts) up. The AUTOEXEC.BAT file is used to set various default settings and to run programs that should be executed upon startup. Below you will find a list of executable statements (commands) that typically go into an AUTOEXEC.BAT file, along with explanations their.


The AUTOEXEC.BAT file is one form of a batch file, and it is used to automate functions in MS-DOS. In their simplest form, batch files contain MS-DOS commands (batch file language) which includes commands for such things as loops and execution branches and the like.
ECHO
Example: @ECHO OFF
This optional command will suppress the display of subsequent commands while the AUTOEXEC.BAT file is being executed

Dec 09, 2010 | Computers & Internet

1 Answer

What is best website to show me dos programming examples.. want to creat an exe file to pick up text files from a directory and send them to a printer whenever a new file appears .(without pc...


you mean a .bat file that can be run when a new file is added. let me see if i can find a good site for you.
http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.html
My advice is get a good book! One that stands out in my mind is "The Waite Group's MS-DOS Bible" (1991?) This will take you through using the command shell and batch files through how the DOS filesystem is structured, memory managment under DOS, an explaination of how the OS loads a program up to wrting little progams of you own using machine language and debug.
Another great book is Dan Gookin's "Advanced MS-DOS Batch File Programming" that will also teach you something about operating systems in general in a nice, unformal tone.
DOS also comes with a BASIC interpreter called QBASIC, that can teach you the funamentals of programming while augmenting your shell scripts and doing things that plain batch files just can't do.
www.animatedsoftware.com/faqs/learndos.htm

Aug 03, 2010 | Microsoft Windows XP Professional

1 Answer

Windows automatic shutdown


1. create a new text file by opening notepad. 2. paste the following in the text file:
echo off shutdown.exe -r -t 00
3. save the text file but change the .txt file extention to .bat. 4. under control panel, open task scheduler. 5. schedule a new task to run your new .bat file, whenevr the pc should be shut down.
good luck.

Aug 26, 2009 | Computers & Internet

2 Answers

MS-Dos running a file..


Right click on the file and select edit. This should load it in a text editor.
Now, simply read what it does.

You don't say what the batch file is for, so it's hard to say what you should look for in the file.

Jan 31, 2008 | Computers & Internet

1 Answer

MS-Dos running


give this a run...
put the file in your base drive (in C:/)
Start>Run> "c:">*insertfilename WITH ".BAT" at the end*

It will either work or just fail and leave the window open with whatever was displayed on the screen(hopefully, unless the bat has a "close window" command in the end of the file)

Jan 31, 2008 | Computers & Internet

1 Answer

Running a dos batch file in background in windows


Batch file for what?

I once ran across a software called Dosbox that I used to run a customers dos based notes program in XP. It worked well, not sure about batch files, but worth a shot I suppose.

You can find info on it here - http://dosbox.sourceforge.net/

 

Oct 17, 2007 | Microsoft Windows XP Professional for PC

2 Answers

How to edit registry


1) to edit registry go to start / select run and type regedit. from there you are able to edit registry values. BEWARE because editing registry values may make your windows stop working. you should know what you are doing and you are responsible of the cosnequenses 2) a bat file is a batch file. Batch files are files that allow MS-DOS and Microsoft Windows users to create a lists of commands and/or programs to run once the batch file has been executed. 3) create a file called autorun.inf and type inside [autorun] open=file.exe save your file and write it in the cd you want to autorun the file.exe part must be replaced with the executable you want to load when your CD autoruns

Oct 08, 2007 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

111 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98829 Answers

David Payne
David Payne

Level 3 Expert

14071 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...