Answers for "batch file path"

0

batch file path

@echo off
setlocal
set file=C:\Users\l72rugschiri\Desktop\fs.cfg
for %%i IN ("%file%") DO (
   	echo filedrive=%%~di
	echo filepath=%%~pi
	echo filename=%%~ni
	echo fileextension=%%~xi
)
Posted by: Guest on July-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language