Entering the following Perforce trigger
FogBugzTrigger change-submit //... "cscript.exe C:\Program Files\Perforce\logBugDataP4.vbs %changelist% %serverport% %client%"
generates this error:
Input Error: There is no file extension in "C:\Program".
This is because the path contains a space (the path is breaking on the first space encountered, after "Program"). To fix this in Windows, you can use the Windows 8.3 filename, which has no spaces:
If your filename has other spaces in it, or the above do not work, you can find the 8.3 filename of any directory by doing the following:
You'll have to do this for each directory in your path that has a space in the title. So, for example, to find the 8.3 path of "C:\Program Files\Perforce 2005.2" you would do the following:
Back to instructions for setting up Perforce triggers with Perl
Back to instructions for setting up Perforce triggers with VBScript