wiegandweitz Posted January 13, 2009 Posted January 13, 2009 Hey folks, Just having problems with the easiest stuff: trying to send "netsh interface ip set address name="Local Area Connection" static 172.28.13.7 255.255.255.224 172.28.13.30", but "Local Area Connection" is not accepted of course. Since it is part of the command i need in there. How to? thx in advance, wiegand
Zedna Posted January 13, 2009 Posted January 13, 2009 'netsh interface ip set address name="Local Area Connection" static 172.28.13.7 255.255.255.224 172.28.13.30' Resources UDF ResourcesEx UDF AutoIt Forum Search
wiegandweitz Posted January 13, 2009 Author Posted January 13, 2009 'netsh interface ip set address name="Local Area Connection" static 172.28.13.7 255.255.255.224 172.28.13.30' thx mate, an easy one, just as i guessed. Now where do i change my login?
Robjong Posted January 13, 2009 Posted January 13, 2009 (edited) Hey, you can also escape quotes by doubling them, so '''' prints ' and """" prints ". Example: ConsoleWrite("Im a string with some quotes behind me '''""""""'''" & @CRLF) ; Output: Im a string with some quotes behind me '''"""''' ConsoleWrite('Im a string with some quotes behind me ''''""""""''''' & @CRLF) ; Output: Im a string with some quotes behind me ''""""""''oÝ÷ ÚÊ-+,¥u©l£ +«¢+ØÅÕ½Ðí¹ÑÍ ¥¹ÑÉ¥ÀÍÐÉÍ̹µôÅÕ½ÐìÅÕ½Ðí1½°É ½¹¹Ñ¥½¸ÅÕ½ÐìÅÕ½ÐìÍÑÑ¥ÄÜȸÈà¸Ä̸ÜÈÔÔ¸ÈÔÔ¸ÈÔÔ¸ÈÈÐÄÜȸÈà¸Ä̸ÌÀÅսРEdit: 2nd codebox Edited January 13, 2009 by Robjong
wiegandweitz Posted January 13, 2009 Author Posted January 13, 2009 Hey, you can also escape quotes by doubling them, so '''' prints ' and """" prints ". Example: ConsoleWrite("Im a string with some quotes behind me '''""""""'''" & @CRLF) ; Output: Im a string with some quotes behind me '''"""''' ConsoleWrite('Im a string with some quotes behind me ''''""""""''''' & @CRLF) ; Output: Im a string with some quotes behind me ''""""""''oÝ÷ ÚÊ-+,¥u©l£ +«¢+ØÅÕ½Ðí¹ÑÍ ¥¹ÑÉ¥ÀÍÐÉÍ̹µôÅÕ½ÐìÅÕ½Ðí1½°É ½¹¹Ñ¥½¸ÅÕ½ÐìÅÕ½ÐìÍÑÑ¥ÄÜȸÈà¸Ä̸ÜÈÔÔ¸ÈÔÔ¸ÈÔÔ¸ÈÈÐÄÜȸÈà¸Ä̸ÌÀÅսРEdit: 2nd codeboxfunny thing is, that i messed around in the help-file and in the forum for like 30 minutes and missed 2 solutions to the problem. Anyways, thx guys.
Bert Posted January 13, 2009 Posted January 13, 2009 In the future, please do not Personal Message MVPs for help. You should only post questions to the Help and support section when you need help. Thanks. The Vollatran project My blog: http://www.vollysinterestingshit.com/
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