Windows wildcards

In some cases, p4 commands on Windows can result in a delayed response if they use unquoted file patterns with a combination of depot syntax and wildcards, such as:

$ p4 files //depot/*

You can prevent the delay by putting double quotes around the file pattern, like this:

$ p4 files "//depot/*"

The cause of the problem is the p4 command’s use of a Windows function to expand wildcards. When quotes are not used, the function interprets //depot as a networked computer path and spends time in a futile search for a machine named depot.