Question about Computers & Internet

1 Answer

What are the commands to switch directories in MS-Dos? and What is the command to run an executable file?

Posted by on

Ad

1 Answer

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

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 644 Answers

CD hit space - and desired folder name, to open that folder ENTER
MD hit space and name of new folder- make new directory or folder ENTER
CD.. - to go back to previous directory ENTER

To run an executable file just write the file name you want to execute and press ENTER, or file name followed by .EXE and press enter.

Hope this helps.

Posted on Sep 27, 2010

Ad

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.
New users get 2 Free calls (no credit card required) and instant help on almost anything you can think of (from cars to computers, appliances, handyman, and even pets).
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

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

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

Error in ms office


Rename and Reinstall the Vbe6.dll File

NOTE: You need your Office CD-ROM to complete this task.
  1. Quit all currently open programs.
  2. Start an MS-DOS prompt in a window by doing one of the following:
    • Microsoft Windows 95 or Windows 98: Click Start, point to Programs, and then click MS-DOS Prompt.
    • Microsoft Windows Millennium Edition (Me): Click Start, point to Programs, point to Accessories, and then click MS-DOS Prompt.
    • Microsoft Windows NT 4.0: Click Start, point to Programs, and then click Command Prompt.
    • Microsoft Windows 2000 or Microsoft Windows XP: Click Start, point to Programs, point to Accessories, and then click Command Prompt.
  3. To change the directory to the location of the Vbe6.dll file, type one of the following (including the quotation marks), and then press ENTER: CD "C:\Program Files\Common Files\Microsoft Shared\Vba\Vba6"-or- CD progra~1\Common~1\Micros~1\Vba\Vba6NOTE: This is the default directory for the Vbe6.dll file. If you installed Microsoft Office into another drive or directory, you must type its path.
  4. To unregister the Vbe6.dll file, type the following.

    In Windows 95, Windows 98, or Windows Me, type: C:\Windows\System\REGSVR32 /U VBE6.DLLIn Windows NT 4.0, Windows 2000, or Windows XP, type: REGSVR32 /U VBE6.DLL-or- C:\Winnt\System32\REGSVR32 /U VBE6.DLLNOTE: This is the default directory for the Windows System directory. If you installed Windows into another directory, you must type its path.
  5. In the MS-DOS prompt window, rename Vbe.dll to Vbe.old by typing the following and then pressing ENTER: rename vbe6.dll vbe6.old
  6. Quit the MS-DOS prompt window. To do this, do one of the following:
    • Type Exit at the command prompt, and then press ENTER. -or-

    • Click Close (the X in the upper-right corner of the window).
  7. Start Microsoft Word.
  8. On the Tools menu, point to Macro, and then click Macros.

    The Windows Installer detects that the Vbe6.dll file is missing on the system, installs the file from the Office CD, and registers it again.

Mar 23, 2010 | Microsoft Office Professional 2007 Full...

2 Answers

Dos commands in linux


go to http://www.pctechguide.com/articles/gettingDedicated12.htm you will find all the commands you need in there.

Jun 01, 2009 | Microsoft Computers & Internet

1 Answer

Do not know how to install software


How to install a software program can depend on the operating system being used and the program being installed. Because of all the different possibilities, we have created the below steps as guidelines for installing programs in each of the major operating systems.
Notice: This document has been created as a basic overview on how to install software programs, games, and utilities on your computer. If errors are encountered during the installation, this document will not cover those errors.
General Tips
Microsoft Windows 95, 98, NT, ME, 2000, and XP users
MS-DOS Users
General Tips
  • Make sure your computer meets the requirements of the program, game, or utility you are attempting to install.
  • The manuals for the program or the readme file located in the same directory as the install commonly contain exact instructions on how to install a program.
  • After installing or during the installation, a program may need to install other programs, files, or utilities before it is able to run. If this is the case, the program will commonly prompt you to install the program or you may need to run a separate install before the program can be fully used.
  • When installing a program, utility, or game, it is always a good idea first to close or disable any other programs that are running.
  • After installing a new program if it prompts you to reboot the computer, do it.
Microsoft Windows 95, 98, NT, ME, 2000, and XP users Many software programs, games, and utilities have an AutoPlay feature that will automatically start the setup screen for the software program when the CD is placed in the computer. If your program, game, or utility contains this feature, run the installation through the screen that appears after inserting the disc.
If you are installing a program, game, or utility that does not contain this feature or you are installing a program from a floppy diskette, follow the below steps.
  1. Open My Computer.
  2. Within the My Computer window, open the drive that contains the installation files. For example, if the files are on a floppy diskette, open the A: drive. If they're on a CD or DVD open the D: drive or the letter of the disc drive.
  3. Within the drive that contains your files, locate either a setup or install file. Double-clicking on this file should start the installation for the program, game, or utility. If you see multiple setups or install files, try to locate the Application file or double-click each of setup or install files until you find the file that starts the installation. Many times the icons associated with the installation files have the same name.
An alternate method of starting the installation in Microsoft Windows
  1. Click Start and Run.
  2. In the Run Window, type x:\setup or x:\install where x is the letter of the drive you wish to start the installation from. For example, if you are attempting to install a program from the floppy disk drive you would type a:\setup or a:\install.
MS-DOS Users Users installing a program from Microsoft DOS should have a basic understanding of the MS-DOS commands. If you are unfamiliar with any of the commands listed below, click the link to get additional information and examples on the commands.
  1. Before installing a program in MS-DOS, you must switch to the drive and/or directory that contains the installation files. If you are installing a program from a CD or diskette, switch to that drive. Additional information about switching drives in Microsoft DOS can be found on document CH000515. If the installation files are located in a different directory, use the dir command to list the directories and the cd command to switch into the appropriate directory.
  2. Once you are in the directory or drive that contains the installation files, run the executable for the setup. Many times this can be done by typing setup or install at the prompt to start the installation. If both of these commands give a bad command or file name error message, type dir *.exe or dir *.com or dir *.bat. These commands will list any executable files; if any files are listed, attempt to execute these files to run the installation or setup of the program. If no files are listed when typing all three of the above commands, it is possible that either you are in the incorrect directory or drive letter, or that the program.
Additional information about running an file from MS-DOS can also be found on document CH000598.
Additional information:
  • Information about problems that can occur after an install can be found on document CH000123.
  • See document CH000506 for information about how to extract a file that you've downloaded before installing a program.

< Please Rate :) >

Apr 12, 2009 | Computers & Internet

1 Answer

I am trying to do a software update for our furuno felcom 12, sat c unit. I have the software update on a floppy disc, and have followed instructions on how to install on ms dos, but when I punch in the...


that means that file is not an executable file or not an application. try typing dir *.exe and then run the file that displays. since those files that displayed are the executable files.

Dec 22, 2008 | Computers & Internet

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

MOD file


The MOD file is just MPG format,
a simple MS-DOS command line instruction to rename your MOD files to MPG files (first copy your camcorder-harddisk files to PC-harddisk). I use to do the same!
Just execute the following command in the proper directory (or place this line in RENAME_MOD2MPG.BAT, and execute BAT file by doubleclick); the command assumes the JVC 3hexa-digit method of numbering:

ren MOV???.MOD MOV???.MPG

Oct 21, 2008 | JVC Everio G Camcorder

1 Answer

How do i reboot windows vista. i knwo theres a way to do it not from the CD and it returns it to how u go it out of the box. please let me know thanks


If you are using MS-DOS 6.0 or later, you can use multiple configuration menus or the CHOICE.COM program to configure your system. For more information on using these options under MS-DOS 6.0 or later, type HELP MULTI-CONFIG or HELP CHOICE at the MS-DOS command prompt and then press ENTER. To create the files to automatically restart your computer with the appropriate configuration, do the following:

Create a directory on your hard drive called C:\CONFIGS. Create the CONFIG.SYS and AUTOEXEC.BAT files you need to boot your system for HIMEM.SYS and applications that require it, with the following names: c:\configs\config.dos c:\configs\autoexec.dos Create the CONFIG.SYS and AUTOEXEC.BAT files you need to start your system for the program that conflicts with HIMEM.SYS. Any unique file extension can be used. The following example uses 386: c:\configs\config.386 c:\configs\autoexec.386 The following DEBUG script can be used to create a small executable file called REBOOT.COM. This file, when executed, will cause your system to restart. To create the file, change to the DOS directory, and type the following: debug reboot.comEnter the following information, pressing ENTER key after each line: A 100 ; Debug instruction for assemble MOV AH,0D ; Disk Reset INT 21h ; causes SmartDrv 4.x to write cache MOV AX, 40 ; set up segment addressing MOV DS,AX DS: OR BYTE PTR [17],0C ; equivalent of pressing CTRL+ALT MOV AX,4F53 ; Issue a "DEL" (53h = DEL scan code) INT 15h ; EMM386 sees this & shuts down. DS: MOV WORD PTR [72],1234 ; Set REBOOT flag to Warm-Boot (0=cold) JMP F000:FFF0 ; Execute the internal restart routine <CR> ; This line must be blank (just hit ENTER) R CX 20 ; File size to be written to disk (in hex) N REBOOT.COM ; Filename W ; Write the file to disk Q ; Quit Debug NOTE: The REBOOT.COM file created with this debug script is compatible with SMARTDrive and its write-behind cache feature. The instructions in REBOOT.COM cause SMARTDrive to write (flush) its write-behind cache to disk before the computer is rebooted.

The following commands can be used to copy and rename the configuration files to the root directory of the C drive and restart the computer. To simplify the process, you can put these commands into batch files.

To start your machine for Windows, use the following commands: copy c:\configs\autoexec.dos c:\autoexec.bat copy c:\configs\config.dos c:\config.sys reboot.com To start your machine for the 386 application, use the following commands: copy c:\configs\autoexec.386 c:\autoexec.bat copy c:\configs\config.386 c:\config.sys reboot.com

Apr 29, 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:

36 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

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