Sunday, July 2, 2017

PHPStorm: Open Project Using Command Line Using VBScript | Open Directory Using Command Line Using VBScript

PhpStorm helps opening a project using command line. You can open specific file with specific line. Below is a code snippet (Written in VBScript) to open a project directory using command line as well as VBScript.

Set WshShell = CreateObject("WScript.Shell" )

WshShell.Run """C:\..\bin\PhpStorm.exe"" ""C:\xamp\project" "", 1

And in MAC you can use below command:
/Applications/../phpstorm ~/PhpS..jects/unt..5


You also can open a file of the same project using below command:

PhpStorm.exe C:\project_dir --line 3 C:\project_dir\numbers.js

1 comment:


  1. "https://prokeypc.com/avast-premier-cr/"..
    Good Post! Thank you so much for sharing this pretty post.

    ReplyDelete