Warning: INSERT command denied to user 'aliabdelaziz'@'' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Creating default object from empty value</em> in <em>/home/content/22/3380422/html/modules/taxonomy/taxonomy.module</em> on line <em>1387</em>.', 2, '', 'http://aliabdelaziz.org/taxonomy/term/137', '', '', 1498213955) in /home/content/22/3380422/html/includes/database.mysql.inc on line 172
Batch | aliabdelaziz.org


warning: Creating default object from empty value in /home/content/22/3380422/html/modules/taxonomy/taxonomy.module on line 1387.

Windows Batch for renaming files extensions

Sometimes you need some batches for doing stuff like appending extension to existing files or removing extension from existing files
After googleing as I'm not good in CMD scripting I manged to write both renameToOld.bat and undo-renameToOld.bat batches
which rename all the files found in a specific folder to *.old and reverse operation by removing the .old extension from the files found in a specific folder.

for renameToOld.bat :

REM Remove the double quotes from the front and end of the root path

Powered by Drupal - Design by artinet