I only need to hide this folder.
Using Livecode 7.1.0-rc-1 Build 10040 (indy developer)
Working on Windows 10
Works fine as a commandLine in the Terminal window However I needer to use quotes before and after the folder path.
This worked fine in the commandline window:
D:\>attrib +h "D:\test folder\subfolder"
D:\>attrib -h "D:\test folder\subfolder"
D:\>
The error message: button "Hide folder": execution error at line 2 (Handler: can't find handler) near "shell", char 1
the script:
Code: Select all
on mouseUp
shell ("attrib +h D:\test folder\subfolder")
answer the result
end mouseUp
Code: Select all
shell ("attrib +h " & quote & "D:\test folder\subfolder" & quote)