Hi @ll.
Why this is not working?
if {not exists folder "C:\temp"}
folder create "C:\temp"
endif
move __Download\Set-UserRights.ps1 “C:\temp\Set-UserRights.ps1
The error:
Failed if {not exists folder C:\temp}
folder create C:\temp
endif
move __Download\Set-UserRights.ps1 “C:\temp\Set-UserRights.ps1”
This ios getting mi crazy.
Thanks in advance.
Angel BC.
Try using the Fixlet Debugger to debug the action script: https://developer.bigfix.com/tools/fixlet_debugger.html
Is this a copy-n-paste from somewhere? I’ve seen cases where Word or the browser embed unprintable Unicode characters there, so there might be some characters you don’t see.
I suspect this because in the log output the c:\temp does not have the quotes around it…
You might try retyping it, or copy & paste into Notepad++ and choose “Show All Characters” to see whether there’s anything unexpected
Hi.
many Thanks @JasonWalker it was a character. I tested before with quotes but it doesn’t work too. After write it manuallyu it works as expected.
Nice weekend to all.
1 Like