connect to postgres command line windows code example
Example 1: how to open postgresql in windows
net start postgresql-9.5
Example 2: how to open postgresql in windows
pg_ctl.exe restart -D "<path upto data>"
net start postgresql-9.5
pg_ctl.exe restart -D "<path upto data>"