File Handling 📁using Batch Script | Create, Edit, Move, Copy, Rename, Delete Files in Windows 10/8/7

Опубликовано: 13 Март 2026
на канале: Green Light Coding
343
10

Green Light Coding presents new tutorial video about the basic File handling using batch script.
Create, Edit, Delete, Move, Copy, Rename Files Using Simples Command Lines.
So, let's watch the full video without skipping.


batch scripting
batch programming
batch script tutorial
batch file
cmd command
_____________________________________________________________
Stay connected to us for more useful coding hacks like these.
_____________________________________________________________


#coding
#filehandling
#file
#cmd
#code
#batchfile
#learning
#info
#simple
#functions
#notepads
#console
#programming
#programminglife
#coder
#programmers
#important
#brightness
#updates

code:

::File Handling Basic tutorial using batch script
::this will include the following topics
::Remainder : use one each set of code at a time and use "greater than sign" in place of 〉
@echo off
::create a folder
md folder1
pause
::delete a folder
rd folder1
pause
::create a file [empty & written]
echo file 〉file1.txt
echo. 〉file2.txt
pause
::edit a file
echo edit a file 〉 file3.txt
echo file edited 〉〉file3.txt
pause

::rename a file
ren file3.txt file4.txt
pause
:: move a file
move file4.txt "directory in which you want to move your file"
pause
:: copy a file
copy file4.txt "directory in which you want to copy your file"
:: show a file
type file4.txt
pause
:: open a file
start notepad "file4.txt"
pause
::show files in present directory
dir
pause
::delete a file
del "file2.txt"
pause
::how to kill a process
notepad will stop working a well as my text editor
taskkill /im notepad.exe
pause




SUBSCRIBE FOR MORE UPDATES LIKE THESE
_______________________________________________________________
CHANNEL LINK :    / @greenlightcoding613  
_______________________________________________________________