→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
76012
Engaged Sweeper II
Having a problem getting file version info.... Is there an issue with spaces?
I entered this for the file to scan:
"C:\Sophos\Sophos Anti-Virus\sav32cli.exe"

This is what is in the database, and it fails to find the file:
"C$\Program Files\Sophos\Sophos Anti-Virus\sav32cli.exe"

I changed it to this, and it still fails to find the file:
"%programfiles%\Sophos\Sophos Anti-Virus\sav32cli.exe"
2 REPLIES 2
76012
Engaged Sweeper II
The problem turned out to be the quotes. I thought I needed quotes to handle the spaces in the path.

Doesn't work: "%programfiles%\Sophos\Sophos Anti-Virus\sav32cli.exe"
Does work: %programfiles%\Sophos\Sophos Anti-Virus\sav32cli.exe

Thanks for your help. It's very appreciated!





Hemoco
Lansweeper Alumni
There are no issues with spaces. (you don't need to type the c$\)

Correct syntaxes are:

Program Files\Sophos\Sophos Anti-Virus\sav32cli.exe
%programfiles%\Sophos\Sophos Anti-Virus\sav32cli.exe