answersLogoWhite

0


Best Answer

It's a wildcard which means any single character.

For instance:

> dir ???.txt

This will list all 3-letter file names that have a .txt extension in the current folder.

An asterisk can also be used as a wildcard and represents any group of characters.

> dir *.txt

This will list all file names that have a .txt extension in the current folder.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In a command prompt what is the propose of a question mark in the file name?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How can you undo something you put into command prompt?

There is usually no way to undo a command. Everything executed in the command prompt, is usually final, and has to be manually undone via the same way it was done. There are some command line programs that allow you to undo what it has done. But with the vagueness of your question I am unable to give you a definitive answer. NOTE: Deleting a file from the command line is irreversible and external software will be needed to retrieve the file.


What is the purpose of the command prompt?

the command prompt is a program where you can command the computer to perform functions such as shutdown, restart, open a certain file, start a program, etc.


How do you block a website using command prompt?

echo 127.0.0.1 insertdomainnamehere>>C:\Windows\System32\drivers\etc\hosts Make sure you run command prompt as an administrator and check that the hosts file (in this folder: C:\Windows\System32\drivers\etc) is not marked for read-only.


How do you send commands to a command-line EXE program from a batch?

Just put the commands in your batch file. When someone runs the program, it will execute the commands it comes across line-by-line. - Example Batch Script: This script will run an application EXE file with command line parameters. This will use the shutdown.exe file that comes with windows. It shuts down the computer in 60 seconds. @shutdown -s -t 60 - You could also use the START command. For any command or exe file that runs from the command line, you could open a command prompt and type the name of the file followed by /? to find out what you can use as command parameters. Example: START /?


How do I write a batch file to search recursive folders for a list of partial file names with wildcards and then delete the files?

No need for a batch file, the following commands will do it: CD folder FOR /F %i IN (files.txt) DO DEL %i /P /F /S The CD command sets the current folder. All deletions will occur in the specified folder and its sub-folders. The files.txt file must be a list of file names (wildcards permitted) with one file name per line. If this file does not reside in the current folder you must specify the fully-qualified path or the relative path (relative to the current folder). The FOR loop essentially executes the DEL command for each file in files.txt. The DEL command line switches are: /P (prompt for confirmation before deleting each file) /F (force delete read-only files) /S (recurse through sub-folders of the current folder). To suppress prompting, remove /P but add /Q (quiet mode) to suppress prompting on global wildcards. For more help on this, enter DEL /? at the command prompt. For more help on the FOr command, type FOR /? at the command prompt. If used in a command script (.cmd) or batch file (.bat), replace %i with %%i. The only real advantage of using a batch file (other than to save a bit of typing) is that you can also pass the root folder and the file containing your file list as parameters (identified by %1, %2, etc).

Related questions

What does the command prompt DEL do?

the DEL command deletes a specified file when typed in the form below: del file for more information about the command, type : del /? in command prompt


How do you check the integrity of an ISO file?

To check the integrity of the an ISO file you will need to open command prompt. Once in command prompt type in: c:\> fciv , and the iso file name.


What commands can use at the command prompt to encrypt a file?

cipher


What if you copy paste a file from Google is that downloading?

It is considered downloading if the pgn file is corrupted or if the nano-script isn't hacked. To determine whether or not it is hacked, you must go into the command prompt. to get to the command prompt type in the search programs and files "Command" hit the thing that pops up. type " Shutdown /s " in the command prompt and it will determine whether or not the file is bad.


How can you undo something you put into command prompt?

There is usually no way to undo a command. Everything executed in the command prompt, is usually final, and has to be manually undone via the same way it was done. There are some command line programs that allow you to undo what it has done. But with the vagueness of your question I am unable to give you a definitive answer. NOTE: Deleting a file from the command line is irreversible and external software will be needed to retrieve the file.


How do you put a file on a remote computer through command prompt?

ftp (file transfer protocol)


Windows 2000XP volume folder and file compression can be done using what command at the command prompt?

compact


What windows 9xMe program file provides a Command Prompt windows?

Command.com


What windows 9xMe program file provides a command prompt window?

command.com


What is the purpose of the command prompt?

the command prompt is a program where you can command the computer to perform functions such as shutdown, restart, open a certain file, start a program, etc.


What command could you type at a command prompt to search Section 5 of the pages for help on the inittab file?

man 5 inittab


What is the function of FORMAT command?

FORMAT is a Microsoft command-line utility that is used for disk formatting. The function of the command prompt is to format a partition of the file system.