Syekick Posted January 22, 2008 Share Posted January 22, 2008 I'm trying to duplicate the dos command cipher /a /e /q /s:"C:\Documents and Settings\%username%\my documents" In AutoIt, I've tried many variations but find (so far) that the following line is the only one that does nor give syntax errors when checking the file. But of course, it does not work. Run("cipher.exe /a /e /q /s:c:\C:\Documents and Settings\" & @UserName & "my documents") Toss me a bone here Link to comment Share on other sites More sharing options...
MHz Posted January 22, 2008 Share Posted January 22, 2008 Perhaps using @MyDocumentsDir will do? Run('cipher.exe /a /e /q /s:"' & @MyDocumentsDir & '"') Bone tossed... Link to comment Share on other sites More sharing options...
Syekick Posted January 22, 2008 Author Share Posted January 22, 2008 Perhaps using @MyDocumentsDir will do? Run('cipher.exe /a /e /q /s:"' & @MyDocumentsDir & '"') Bone tossed... ROFL, Obviously, I didn't know that command existed. I'll have to review them. Thank you! Link to comment Share on other sites More sharing options...
DBowers Posted February 19, 2008 Share Posted February 19, 2008 (edited) . Edited February 19, 2008 by DBowers Link to comment Share on other sites More sharing options...
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