Bulk change JavaScript Extensions (.js) to TypeScript Extension (.ts) recursively


I was working on an upgrade project which required to convert JavaScript/ jQuery to TypeScript files from all the folders & sub folders.

Here is the command to rename all .js files to .ts files :

for /R %x in (*.js) do ren "%x" *.ts

Comments

Popular Posts

SharePoint Interview Questions and Answers

Download Infopath Form Templates

How to get current logged user information using JavaScript ?

Steps to set Form based authentication (FBA) for SharePoint 2010

SharePoint Interview Questions and Answers II

Get List Items - JavaScript

Change Language for current user with JSOM in SharePoint Online

Cross Site List Rollup Web Part for SharePoint 2010

Hide Recently Modified Items

SharePoint 2010 CSS Chart