FinalVersion Posted May 18, 2009 Share Posted May 18, 2009 Topic. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
Valuater Posted May 18, 2009 Share Posted May 18, 2009 Google is your friend 8) Link to comment Share on other sites More sharing options...
FinalVersion Posted May 18, 2009 Author Share Posted May 18, 2009 Google is your friend8)No actually, its my enemy. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
Authenticity Posted May 18, 2009 Share Posted May 18, 2009 lol, what happen if you open the command line and write: echo %comspec% ? Link to comment Share on other sites More sharing options...
FinalVersion Posted May 18, 2009 Author Share Posted May 18, 2009 I know what ComSpec is, i need the autoit syntax, jeez. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
system24 Posted May 18, 2009 Share Posted May 18, 2009 (edited) @ComSpec value of %comspec%, the SPECified secondary COMmand interpreter;primarly for command line uses, e.g. Run(@ComSpec & " /k help | more")Hmm... this is so wrong. Maybe this.AutoIt has an number of Macros that are special read-only variables used by AutoIt. Macros start with the @ character instead of the usual $ so are easy to tell apart. As with normal variables you can use macros in expressions but you cannot assign a value to them.The pre-defined macros are generally used to provide easy access to system information like the location of the Windows directory, or the name of the logged on user.AutoIt syntax for what? Edited May 18, 2009 by system24 [center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center] Link to comment Share on other sites More sharing options...
martin Posted May 18, 2009 Share Posted May 18, 2009 (edited) I know what ComSpec is, i need the autoit syntax, jeez.Yes you know because you have put @COMSPEC in the title to this thread, so why are you asking? Edited May 18, 2009 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
FinalVersion Posted May 18, 2009 Author Share Posted May 18, 2009 Yes you know because you have put @COMSPEC in the title to this thread, so why are you asking?Don't worry. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
TurionAltec Posted May 18, 2009 Share Posted May 18, 2009 Need decent explanation on question being asked. Link to comment Share on other sites More sharing options...
FreeFry Posted May 18, 2009 Share Posted May 18, 2009 What more is there to explain about it?It's a macro, which contains the file path to command line interpreter.MsgBox(0, "Oh my GOD! What is this?!", @ComSpec)The enemy of my enemy is my friend Link to comment Share on other sites More sharing options...
LurchMan Posted May 18, 2009 Share Posted May 18, 2009 pretty sure hes asking on how to use @comspec in a run () statement such as from the help file:To run DOS (console) commands, try Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE) ; don't forget " " before "/c" Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
FreeFry Posted May 18, 2009 Share Posted May 18, 2009 Then they should read up on the command line switches the command line interpreter supports, and not the @ComSpec macro. Link to comment Share on other sites More sharing options...
LurchMan Posted May 18, 2009 Share Posted May 18, 2009 Then they should read up on the command line switches the command line interpreter supports, and not the @ComSpec macro. that would be the most logical thing to do wouldnt it? Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
FreeFry Posted May 18, 2009 Share Posted May 18, 2009 Yup. Link to comment Share on other sites More sharing options...
weaponx Posted May 18, 2009 Share Posted May 18, 2009 cmd.exe Link to comment Share on other sites More sharing options...
rajeshontheweb Posted May 18, 2009 Share Posted May 18, 2009 explanation on comspec <contact your enemy, google> that u know about comspec, comspec on autoit @ComSpec value of %comspec%, the Specified secondary Command interpreter; primarily for command line uses, e.g. Run(@ComSpec & " /k help | more")so now, having this here, probably the title needs to be changed to reflect the actual requirement.i would say the title should have read need a detailed illustration of comspec usage / applicationfurther, google may too much, but forum search is good enough, i would thinkhttp://www.autoitscript.com/forum/index.php?showtopic=88370 Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet Link to comment Share on other sites More sharing options...
Valuater Posted May 18, 2009 Share Posted May 18, 2009 One of the best lists of Comspec examples here in Autoit...http://www.autoitscript.com/forum/index.ph...st&p=2239518) 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