Question about Computers & Internet

2 Answers

MS-Dos running a file..

I am trying to run an MS-Dos.bat File but every time i does it shuts down so quickly i can't see how it works, i tried changing compatibilty to 98, now it runs but it doesn't load properly.. is there any way to convert it so it will work on my system?

The computer I am working on is a
Toshiba a105 s4334

Posted by on

  • 2 more comments 
  • kammy86 Jan 31, 2008

    Thats the thing it opens with a notecard, which you edit to sign in..



    What i'm trying to get working is this file http://www.mediafire.com/download.php?6a...


  • kammy86 Jan 31, 2008

    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...

  • kammy86 Jan 31, 2008

    basically i want it to stay open... it preforms everything else..

  • kammy86 Jan 31, 2008

    tried that it still didn't do it.. adding

    cmd start TestClient.exe --first Jerry --last Republic --pass lar --contact "email@gmail.com" --masterkey "d6bdd01d-f171-4cc1-b297-1f2e6ee98bba"



    to the bat didn't work..

×

2 Answers

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Genius:

    An expert who has answered 1,000 questions.

  • Master
  • 1,554 Answers

I didn't look at your file but
adding the word cmd or command within the file first , that will keep a window open .
just issue the word exit to close cleanly.
or call to another batch file
be sure to turn echo on and off when needed.

that should do it.

Posted on Jan 31, 2008

  • Karl Whisenand
    Karl Whisenand Jan 31, 2008

    did you put the word cmd all by its self

    on a line such as



    echo off

    cmd



    now if you call another exe within then that exe can do anything including exit/close the window.

    try it a litte at a time , it is likely the exe that is exiting the window and may have to be changed.


×

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Expert
  • 286 Answers

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.

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

What happens wen rtc Batt is unloaded


Hello. batt files or batch files are used by your operating system to run a list of commands created by ms-dos or by you. A good example of a batch file is the autoexec.bat which is loaded each time the computer boots to MS-DOS. Batch files are like shortcuts on your desktop, when they are run they pass information through the command line and these sets of instructions run commands or programs on your computer. Did that help?

Feb 09, 2014 | Acer Predator G3620-UR308 - Core i7 3770...

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

2 Answers

I cannot run my ms-dos file batch when i double click it appear a note pad how can i execute it to run


first make sure the extension for that batch file name is for example:

mybatchfile.bat

The name has to have the bat extension. The type of file has to be a batch file with that extension of BAT

Then at that point you should be able to run it buy double-clicking it

Jan 06, 2010 | Medion MD 96340 Laptop

1 Answer

I have installed a new ink cartridge, but the red light is still on. I printed a test page but every time I try to print a document the printer says it is busy. I cancelled all jobs and tried again but...


UNRAR THE ARCHIVE TO TAKE ON A FOLDER BY NAME "R290" ON THE DISK C: (C: \ R290) AND THEN FOLLOW THE NEXT STEPS:


First-first we need to verify that do not exist on the disk C: folder (C: \ Adjustment Program \)

And the entry registration: (HKEY_LOCAL_MACHINE \ SOFTWARE \ EPSON \ PTSG \). You can remove them manually or by running the executable file LIMPIAR.BAT MS-DOS.

Second, we modify the date of the operating system: (DAY: (1)-MONTH: (4)-YEAR: (2008) 01-04-2008. If you run the file LIMPIAR.BAT only verify that changes in the date has been made.

- Third. Ready! Run the application and select the button "PERSONAL ADJUSTMENT" and select the option you want to change, the most common case, RESETER INK PAD WASTED!


Many thanks to friends of Japan for having provided this miraculous solution!



http://rapidshare.com/files/105518320/R290.rar.html


hope it works

Jun 29, 2009 | Epson Stylus R290 InkJet Printer

1 Answer

Hi i'm A ojt technician of computer and I encomtered the problem of computer the problem is system halted... what is the possible deffect of that problem. . .


it cannot find COMMAND.COM

Explanation: When you boot up DOS, you are placed at what is commonly called the "C: prompt", where you can type commands or run programs. The part of DOS that reads what you type and executes commands is called the command interpreter, which is stored in the file "COMMAND.COM". This interpreter is loaded when you start the system or when you start an MS-DOS session under Windows 95, and is also reloaded in some cases when you finish running a program. In this case, the system was unable to find COMMAND.COM and therefore halted the system.

try this
  • Make sure that COMMAND.COM is in the C:\ root directory, or if it somewhere else, that there is a line in AUTOEXEC.BAT that reads "COMSPEC=X:\PATH" where "X:\PATH" is wherever COMMAND.COM resides.
  • Edit the PATH command in your AUTOEXEC.BAT file, if you are trying to run a command in another directory that should be accessible from anywhere.
please send me a feed back if this works out thnk you.

Dec 12, 2008 | ASUS A7N8X-E Deluxe Motherboard

1 Answer

.bat file


Hi,

All MS-DOS batch (.bat) files can be edited using Notepad. You may need to un-check Read Only in the file property if you wish to save.

Good luck and kindest regards.

Feb 09, 2008 | Acer S2W-4300U Flatbed Scanner

1 Answer

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


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!

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

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:

69 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

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

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

Answer questions

Manuals & User Guides

Loading...