ivan rosa
asked on
Running quotes and singles quotes...Batch
Hi Folks,
I'm creating a batch script here to allow RDP on Windows
If I run this script will get me an error :
But if I was to copy paste the line above to the DOS console they it would work like a charmed.
Have anybody experienced similar or same issue?
I'm creating a batch script here to allow RDP on Windows
powershell "Set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\‘ -Name “fDenyTSConnections” -Value 0"
If I run this script will get me an error :
set-itemproperty: a positional parameter cannot be found that accepts argument
But if I was to copy paste the line above to the DOS console they it would work like a charmed.
Have anybody experienced similar or same issue?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can't believe i felt for something like that ...