Hi gw1500se,
Thanks for the reply.
I have change path to $directory = "C:\Users\%username%\Desktop\Rajesh song"; but still getting error.
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(C:\Users\%username%\Desktop\Rajesh song,C:\Users\%username%\Desktop\Rajesh song): The system cannot find the path specified. (code: 3)' in C:\xampp\htdocs\getID3-master\rajupal.php:4 Stack trace: #0 C:\xampp\htdocs\getID3-master\rajupal.php(4): RecursiveDirectoryIterator->__construct('C:\\Users\\%usern...') #1 {main} thrown in C:\xampp\htdocs\getID3-master\rajupal.php on line 4