This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal ENABLEDELAYEDEXPANSION | |
| set firstline=. | |
| set secondline=. | |
| @FOR /F "tokens=1 delims=^^" %%G IN ('dir /s /a "%~1"') DO ( | |
| set firstline=!secondline! | |
| set secondline=%%G | |
| ) | |
| echo !firstline! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am sharunkumar on github. | |
| * I am sharunkumar (https://keybase.io/sharunkumar) on keybase. | |
| * I have a public key ASBSekqzGALQs8Ki4rIXBoNiu0H5tYINN6wwNX078j-PsAo | |
| To claim this, I am signing this object: |
NewerOlder