Jump to content

FileSetAttrib - Problem


autoking
 Share

Recommended Posts

Hi. I want to hide a file.

It works fine if i do it like this:

FileSetAttrib (@UserProfileDir & "test.au3", "+SH")

But I don't want to write the actual file name, this is what I want to do, witch doesen't work:

FileSetAttrib (@UserProfileDir & @scriptname "+SH")

can someone please help me with this litle problem :)?

Edited by autoking
Link to comment
Share on other sites

Hi. I want to hide a file.

It works fine if i do it like this:

FileSetAttrib (@UserProfileDir & "test.au3", "+SH")

But I don't want to write the actual file name, this is what I want to do, witch doesen't work:

FileSetAttrib (@UserProfileDir & @scriptname "+SH")

can someone please help me with this litle problem :)?

FileSetAttrib (@UserProfileDir & "" & @scriptname "+SH")
Edited by Exit

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...