Jump to content

Recommended Posts

Posted (edited)

I need to be able to issue a command line which has a folder in parentheses as

 

attrib +s +h "absolute folder to hide"

 I've read through many posts here but nothing quite hacks how to use a variable as the folder in parentheses.

I've tried

 

Local $dosattrib = "attrib +s +h " & ""$hidFolder""  ; $hidFolder built up from decrypted encrypted C:\Hidden Folder which I do not want visible when compiled version is reverse engineered

 which errors with excess parentheses but in single "" it doesn't work.

There seems to be a relatively complicated method to make it work but surely there's a simple way?

 

 

Edited by fopetesl
bad composition

The most powerful number in the Universe.  Zero.

Posted

Thanks, jL. I clearly do not recognise the difference between ".." and '..'

I'd assumed, up to now, they both achieved the same function.

Something new every day... I could live forever :D

The most powerful number in the Universe.  Zero.

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
×
×
  • Create New...