Sign in to follow this  
Followers 0
boltc

systemroot

7 posts in this topic

i want to copie something in the systemroot..

is it %systemroot% ?

Share this post


Link to post
Share on other sites



i want to copie something in the systemroot..

is it %systemroot% ?

@SystemDir is the path to Windows' System (or System32) folder.

Lookup Macro Reference - Directory in the help file for further macros



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

also know the path to c:\windows\repair?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

also know the path to c:\windows\repair?

There is no macro for it that I know of but you could use something like

$repair=@WindowsDir & "\repair"

EDIT

WTF happened to my coe box

edit: code /code not /code code

Edited by Larry


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

thanks.. problem fixed!

Share this post


Link to post
Share on other sites

edit: code /code not /code code

Cheers Larry, having a bad day :">


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Or

Opt('ExpandEnvStrings', 1)

so you can use the %systemroot% variable. ;)

Share this post


Link to post
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
Sign in to follow this  
Followers 0