You can try using your own url protocol and handler. This will allow you to write URLs like p4v://Some/place/some/where/ . The setup will depend on your platform.
Then you can install the handler in the p4v executable with the -s option. This will open the location, but it will not provide any synchronization.
p4v -s "// Some / place / some / where /"
You may also need to force the URL to a valid enforcement path. For example, window URLs will contain text before the colon, which will cause problems.
p4v -s "p4v: // Some / place / some / where /"
Therefore, you probably have to write a shell script around p4v execution to do some text filtering. These are all kinds of pain, so I did not do it myself.
tprk77
source share