answersLogoWhite

0


Best Answer

There are three ways to change drive in Command prompt. The first way is to go to the drive, right-click it, then choose "Start Command Prompt Window Here". The Second one is to open CMD, and type the drive letter + colon (:) (Example: F:). To return to drive C: just type cd.. and it will return to it's default directory.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you change drives in batch file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you edit your registry from a batch file?

You can only do it with regetit.exe, and plus if you are asking to change it with a batch file ... trying to make a virus?


What is the extension of batch file?

the extension of a batch file is ".bat"


How do you use Batch File in Microsoft Excel to change the file names of multiple files?

click file, then preferences, next click multiple then enter


Can a file with a weird extension but with batch file code be read using another batch file?

Nope, the format of a file is a vital part of a successful batch file. Even if a file with an unknown file format contains working batch file code in it, a batch file will still not be able to read it because of its foreign file extension. If you want the batch file to be able to read the foreign file, then you can set it to rename the mutated file to .bat format and then read it for it to work. Example: @Echo off REN File.Foreign File.bat CALL File.bat exit


What is a batch file?

A batch file is the text file that contains a series of commands that MS-DOS carries out. A batch file is created by COPY CON command after specifying a file name by using extension as .BAT in DOS mode.


How do you extract code from batch file?

You can just open the batch file with notepad and look at the code


Is there any batch file editor to create batch file without learning syntax?

You can't download a program that makes a batch file to do what you want to do. You will need to legally learn about hacking, and then write the file yourself.


A file with a bat file extension is called an what?

A batch file.


What is Batch File Maker?

you can use notepad for creating a batch file. just when you save the file that you made, add .bat as a file extension. like this: "sample.bat".


What do you call a little program made from batch file?

A Batch Script


A group or list of commands?

A Batch. generally in a BATch file.


How do you make a batch file to move files?

in your batch file type: Move (the directory or folder and the file) space (the directory you want it in) example: move "C:\Users\%username%\Desktop\text.txt" "C:\Users\%username% You can change the %username% to your username but %username%is the variable for your username