MS-DOS

Rename multiple files at the same time with Windows

How to rename Rename multiple files with Windows at the same time ? One solution is to use third party software or the F2 option in the GUI, but the latter is not as flexible as scripting. However, it is simple and effective to use a cmd request. Here are different command line options to rename a series of several files in batch and

MS-DOS

Clear the command line screen prompt

How to clear the Windows command line screen prompt ? MS-DOS allows to manage the Windows system in a very effective way, for example by using scripting to automate tasks. After running multiple commands on the black dos screen, it is very convenient to clear the old messages. How to clear the Windows command line screen prompt ? Use the cls command. The cls

MS-DOS

Delete Windows files recursively in cmd

How to delete files recursively in Windows cmd? I.e. how to delete all files in a folder and its subfolders. Use the del batch command line and the recursive option. The Windows delete command provides this useful option automate the deletion process. For example, if you have a huge amount to delete but need to keep the folder and subfolder’s structure. How to delete

MS-DOS

Delete a file in Windows cmd

To delete a file in Windows cmd, we use the del batch command. The delete command provides many very useful options to be in control of the deletion process. How to delete a file with Windows cmd? The main option that i suggest to use is the deletion confirmation. This way you are able to control one last time which file top delete. Please

MS-DOS

Change current directory and drive in command line

When using the command prompt to navigate in the windows systems. Ether on laptops, desktops or on servers, it’s very convenient to list the folders and to navigate inside the folder structure. Indeed, with one command MS-DOS allows to change folder or drive. How to change the current directory in MS-DOS with the cd command? Indeed, to use the cd command line, use this

MS-DOS

Display the current directory path in cmd

How to display the full path of the current directory in Windows command prompt ? Simply use the cd command and the current path is displayed in the prompt. How to display the full path of the current directory in cmd ? When using batch files it becomes much useful to reuse the current location path. Especially when scripting dynamic actions using variables. Directly

MS-DOS

Create a text list of files in a folder in cmd

How to create a list of files and insert it into a text file with a simple command in Windows? It pretty easy, you need to add in the command to redirect the output of the dir batch comand. How to create a list of the files contained in a folder into a text file with a Windows command ? For example, to list

MS-DOS

List files recursively in folders and subfolders in cmd

Per default, the dir dos command list all files and folders within a given folder, but not recursively. To display a complete of files and optionally folders within all the subfolders, use the dir command options as follows. How to list all files a folder recursively in command line ? With a ms dos prompt, to list all the files inside a folder. To

MS-DOS

List files in folder with cmd

When it comes to listing huge directories in Windows, it’s mandatory to use scripting to avoid a tremendous manual work. Automation is key here, with very simple bash commands windows system can do all the work. How to list all files in a folder with a Windows command line? Use the dir command line to display the full list of files inside a specific

MS-DOS

Copy recursively files and folders in cmd with xcopy

To copy a single file or multiple files recursively with the Windows command prompt, use the xcopy command. The xcopy command is very similar to the copy command but it handles recursion and has many other options mainly related to recursion. How to recursively copy files and folders with windows cmd? Indeed, when copying a large number of files and folders, it is useful