Borje Posted February 20, 2019 Posted February 20, 2019 (edited) Hi What is wrong with this I can not have this to work ? I want to set the attrib on file testen.txt. $path = @appdatadir &"\test\test1" RunWait(@ComSpec & ' /c attrib +s +h "' & $path & "\testen.txt",@SW_HIDE) Edited February 20, 2019 by Borje
Subz Posted February 20, 2019 Posted February 20, 2019 (edited) Should be RunWait(@ComSpec & ' /c attrib +s +h "' & $path & '\testen.txt"', "", @SW_HIDE) Edited February 20, 2019 by Subz
Borje Posted February 20, 2019 Author Posted February 20, 2019 Hi Subz Many thanks to you that works perfect now I understand what I am doing wrong.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now