Hi, I am using following command to run,
mksdfs --volume-name=sdfs_vol1 --volume-capacity=50GB
mountsdfs -v sdfs_vol1 -m E
above two commands run successfully but below command is not working.
sc create sdfse binPath="\"C:\Program Files\sdfs\mountsdfs.exe\" -v sdfs_vol1 -m E -cp" DisplayName="SDFS E Drive" start=auto
It's saying
PS C:\Windows\system32>
sc create sdfse binPath="\"C:\Program Files\sdfs\mountsdfs.exe\" -v sdfs -m e -cp" DisplayName="
SDFS E Drive" start=auto
Set-Content : A positional parameter cannot be found that accepts argument 'binPath=\C:\Program'.
At line:1 char:1
+ sc create sdfse binPath="\"C:\Program Files\sdfs\mountsdfs.exe\" -v s ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-Content], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand