In system variable:
add p4client = your workspace (Not needn't )
add p4port=perforce.wgti.net:1666
add p4user= awang
then
p4 info you will see all the new-added system variable is set to your windows environment variable
------
p4 help will see help
p4 help command