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

Perfect order of ODI export and import

  Smart Export / Import is the recommended way to achieve such a migration. This is the easiest way to make sure all the dependencies are ta...