Batch Commands Rename
█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█
[Synopsis]
This video shows you how to use the rename command on command prompt.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Codes]
rename c:\text now
(This will change the directory from text to now)
rename *.txt *.pdf
(This will change the files with .txt extension with .bat extension.)
rename * Now_*
(this will rename all files in a folder with Now_ . The asterisk * in the command is a a wildcard
command.)
rename "Ace1000ks1975.txt" "Ace1000ks.txt"
(This will rename the text file Ace1000ks1975 to Ace1000ks.)
Rename "New" "Now"
(This will change the file name new to now)
[Batch Script Used in Video]
@echo off
:start
cls
echo A - Change File Name
echo B - Exit Program
echo.
set /p Entry=
if %Entry% == A (
goto A
) else if %Entry% == B (
goto C
)
:A
cls
echo Please enter a file name you want to change
set /p change=
echo Please enter a file name you want to change to
set /p changeto=
d:
cd test
rename "%change%" "%changeto%"
echo Do you want to make another change? Y or N
echo.
set /p select=
if %select% == Y (
goto A
) else if %select% == N (
goto start
)
:C
exit
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Links]
◙ Computer Hope Website
• https://www.computerhope.com/issues/ch001476.htm
█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█
Other Videos By Ace1000ks1975
2020-07-15 | Circuit's Edge (1990) MS-DOS Roland MT-32 |
2020-07-15 | Battletech 2: The Crescent Hawks Revenge Intro Roland MT-32 and Adlib |
2020-07-14 | Predator 2 (1990) MS-DOS Roland MT-32 |
2020-07-14 | Strike Commander (1993) Roland MT-32 vs Sound Blaster Pro |
2020-07-14 | Scan for Malicious Files on a Website |
2020-07-13 | Google Drive Access Your Files from Anywhere |
2020-07-13 | 1942 Capcom Arcade |
2020-07-12 | Breakthru (1986) Arcade Playthrough |
2020-07-12 | Castlevania NES 3dSen |
2020-07-12 | Breakthru (1987) NES Playthrough |
2020-07-11 | Batch Commands Rename |
2020-07-11 | Batch Commands Move |
2020-07-11 | Batch Commands Wildcards |
2020-07-08 | Wild Gunman NES with 3dSen |
2020-07-08 | Dig Dug NES with 3dSen |
2020-07-04 | Excite Bike NES with 3dSen |
2020-07-04 | War Thunder SM.91 |
2020-07-03 | War Thunder: MC.205N2 Orione |
2020-07-02 | Elgato Gamer HD Capture Echoing Problem |
2020-06-29 | City Connection NES with 3dSen |
2020-06-29 | Road Fighter NES with 3dSen |