Jump to content

manually work but by scripts not work


boy15
 Share

Recommended Posts

Hi
What is the wrong in following script

Local $var = FileSelectFolder("autoit script", "")
RunWait(@ComSpec & " /c " & " echo off && title autoitscript  " & "attrib -h -r -s /s /d $var &:\*.*")

When I use this script to show hidden fies that is hidden by shortcut virus, it is not work

If I run commands form CMD manually it is work and automatically appear hidden files.

Edited by boy15
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...