Too many parameters for command 'lcd'

Advertisement

JamesPowell
Joined:
Posts:
4
Location:
Colchester

Too many parameters for command 'lcd'

Hi All

I have a script attached which send pictures to a folder on a desktop. This script works fine on my computer. However I wanted to add this script to other computers in the company. However just tried on another machine and I am getting the error as per the attached log. I do realise the directories are different but I don't see anything else that would cause the error.

Any assistance would be appreciated.

Reply with quote

Advertisement

JamesPowell
Joined:
Posts:
4
Location:
Colchester

Hi Martin

Why would the code work on one computer but not the others. So if I am reading this right it should be like the below
lcd ""C:\\ etc and at the end would be another ""

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

To be exact, it should be:
"lcd ""C:\\ etc and at the end would be another """

It cannot work on another computer. Unless the script on the other computer does not have spaces in the path.

Reply with quote

Advertisement

You can post new topics in this forum