So I am using a batch script to send me notifications when certain actions are completing on my home server. The problem is one set of actions has a name format I can't modify, but I want the name to come through clean without additional content. 

For example, what I want to see is: This File Is Done Processing

What I am seeing is: This File Is Done Processing [additional file info]

The batch variable I am using to extract the file name is: SET PName=%\*

So my question is can is there a way to modify that variable for parsing to exclude the first [ in the string and everything after it?