INSTALLATION DOCUMENTS BY RAVI

Saturday, April 15, 2017

Command to Import the File Names in a Directory into a text file on Windows

Command to import the file names in a directory into a text file:
DIR "C:\Users\ravi\Desktop\test\*.csv" /b > c:\dirlist.txt

Command to import the file names in a directory into a text file without extensions:
cd C:\Users\ravi\Desktop\test
for %%i in (*.csv) do @echo %%~ni >> LIST.txt

No comments:

Post a Comment

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...