→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
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

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now